home *** CD-ROM | disk | FTP | other *** search
Unknown | 1992-05-27 | 402.5 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| System V 64-bit library (executable/systemV64BitLibrary)
| ext
| Unsupported |
1%
| dexvert
| COFF Library (other/coffLibrary)
| ext
| Unsupported |
100%
| file
| data
| default
| |
100%
| gt2
| Kopftext: 'WATCOM binary patch file format'
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 57 41 54 43 4f 4d 20 62 | 69 6e 61 72 79 20 70 61 |WATCOM b|inary pa|
|00000010| 74 63 68 20 66 69 6c 65 | 20 66 6f 72 6d 61 74 0d |tch file| format.|
|00000020| 0a 0d 0a 1a 77 76 69 64 | 65 6f 2e 68 6c 70 00 41 |....wvid|eo.hlp.A|
|00000030| 77 04 00 0e 55 06 00 82 | 3d 3f 02 01 00 00 00 00 |w...U...|=?......|
|00000040| 00 00 00 00 00 00 00 00 | 01 10 6c 01 00 de b9 00 |........|..l.....|
|00000050| 00 60 00 00 00 01 9e 74 | 01 00 dc c9 00 00 50 00 |.`.....t|......P.|
|00000060| 00 00 01 a5 67 02 00 e8 | 49 01 00 2a 00 00 00 01 |....g...|I..*....|
|00000070| 5b 71 04 00 c8 49 03 00 | 65 00 00 00 01 e3 71 04 |[q...I..|e.....q.|
|00000080| 00 e8 4b 03 00 45 00 00 | 00 01 68 72 04 00 d7 4c |..K..E..|..hr...L|
|00000090| 03 00 4e 00 00 00 01 e0 | 74 04 00 db 50 03 00 41 |..N.....|t...P..A|
|000000a0| 00 00 00 01 95 75 04 00 | 5a 51 03 00 b5 00 00 00 |.....u..|ZQ......|
|000000b0| 01 72 76 04 00 20 52 03 | 00 4a 00 00 00 01 d1 76 |.rv.. R.|.J.....v|
|000000c0| 04 00 9a 52 03 00 ba 00 | 00 00 01 42 79 04 00 02 |...R....|...By...|
|000000d0| 55 03 00 4a 00 00 00 01 | 94 79 04 00 7e 55 03 00 |U..J....|.y..~U..|
|000000e0| f1 00 00 00 01 87 7a 04 | 00 6f 56 03 00 72 00 00 |......z.|.oV..r..|
|000000f0| 00 01 2b 7b 04 00 1b 57 | 03 00 f0 00 00 00 01 97 |..+{...W|........|
|00000100| 7c 04 00 8b 58 03 00 98 | 00 00 00 01 2f 7d 04 00 ||...X...|..../}..|
|00000110| 24 59 03 00 db 00 00 00 | 01 0a 7e 04 00 00 5a 03 |$Y......|..~...Z.|
|00000120| 00 76 00 00 00 01 b9 7e | 04 00 a6 5a 03 00 4a 00 |.v.....~|...Z..J.|
|00000130| 00 00 01 0a 7f 04 00 22 | 5b 03 00 7d 01 00 00 01 |......."|[..}....|
|00000140| 87 80 04 00 a0 5c 03 00 | 06 01 00 00 01 e4 81 04 |.....\..|........|
|00000150| 00 ec 5d 03 00 4a 00 00 | 00 01 35 82 04 00 68 5e |..]..J..|..5...h^|
|00000160| 03 00 be 01 00 00 01 3e | 84 04 00 62 60 03 00 4a |.......>|...b`..J|
|00000170| 00 00 00 01 90 84 04 00 | de 60 03 00 f1 00 00 00 |........|.`......|
|00000180| 01 d5 86 04 00 28 63 03 | 00 53 01 00 00 01 2b 89 |.....(c.|.S....+.|
|00000190| 04 00 78 65 03 00 ff 00 | 00 00 01 5d 99 04 00 e5 |..xe....|...]....|
|000001a0| 75 03 00 b0 00 00 00 01 | 3d 9a 04 00 c6 76 03 00 |u.......|=....v..|
|000001b0| 3b 01 00 00 01 dc 54 06 | 00 0f 77 04 00 32 00 00 |;.....T.|..w..2..|
|000001c0| 00 01 0f 55 06 00 42 77 | 04 00 00 00 00 00 00 fa |...U..Bw|........|
|000001d0| 9a 04 00 08 00 00 00 65 | 6e 20 74 68 65 0d 0a 00 |.......e|n the...|
|000001e0| c4 99 04 00 0c 00 00 00 | 61 73 65 20 22 76 22 20 |........|ase "v" |
|000001f0| 69 73 0d 0a 00 d7 89 04 | 00 0c 00 00 00 65 73 20 |is......|.....es |
|00000200| 72 65 73 6f 6c 76 65 0d | 0a 00 8f 89 04 00 08 00 |resolve.|........|
|00000210| 00 00 61 73 20 74 68 65 | 0d 0a 00 dc 87 04 00 08 |..as the|........|
|00000220| 00 00 00 74 2c 20 79 6f | 75 0d 0a 00 d5 86 04 00 |...t, yo|u.......|
|00000230| 1c 00 00 00 0d 0a 0d 0a | 45 78 61 6d 70 6c 65 3a |........|Example:|
|00000240| 0d 0a 20 20 44 42 47 3e | 2f 65 74 63 3d 31 0d 0a |.. DBG>|/etc=1..|
|00000250| 00 43 85 04 00 08 00 00 | 00 61 6d 65 20 6f 66 0d |.C......|.ame of.|
|00000260| 0a 00 ab 84 04 00 08 00 | 00 00 b3 0d 0a c0 c4 c4 |........|........|
|00000270| c4 c4 00 54 82 04 00 08 | 00 00 00 b3 0d 0a c0 c4 |...T....|........|
|00000280| c4 c4 c4 00 2b 81 04 00 | 0c 00 00 00 63 6b 73 20 |....+...|....cks |
|00000290| 72 61 74 68 65 72 0d 0a | 00 e2 80 04 00 08 00 00 |rather..|........|
|000002a0| 00 61 6e 20 37 35 30 0d | 0a 00 4b 80 04 00 08 00 |.an 750.|..K.....|
|000002b0| 00 00 20 76 61 6c 75 65 | 0d 0a 00 ff 7f 04 00 08 |.. value|........|
|000002c0| 00 00 00 20 74 6f 20 62 | 65 0d 0a 00 21 7f 04 00 |... to b|e...!...|
|000002d0| 08 00 00 00 b3 0d 0a c0 | c4 c4 c4 c4 00 9d 7d 04 |........|......}.|
|000002e0| 00 08 00 00 00 6c 73 20 | 61 72 65 0d 0a 00 08 7d |.....ls |are....}|
|000002f0| 04 00 08 00 00 00 6e 73 | 20 66 6f 72 0d 0a 00 12 |......ns| for....|
|00000300| 7c 04 00 08 00 00 00 64 | 66 6c 74 5f 63 61 6c 00 ||......d|flt_cal.|
|00000310| 2e 7b 04 00 08 00 00 00 | b3 0d 0a c0 c4 c4 c4 c4 |.{......|........|
|00000320| 00 f0 7a 04 00 08 00 00 | 00 c4 c4 c4 c4 bf 0d 0a |..z.....|........|
|00000330| b3 00 9b 7a 04 00 0c 00 | 00 00 cd cd cd cd cd cd |...z....|........|
|00000340| cd cd cd cd cd cd 00 ac | 79 04 00 08 00 00 00 b3 |........|y.......|
|00000350| 0d 0a c0 c4 c4 c4 c4 00 | f8 76 04 00 08 00 00 00 |........|.v......|
|00000360| b3 0d 0a c0 c4 c4 c4 c4 | 00 e4 76 04 00 11 00 00 |........|..v.....|
|00000370| 00 64 65 20 7c 20 4f 75 | 74 73 69 64 65 20 7d 09 |.de | Ou|tside }.|
|00000380| 09 09 00 2e 76 04 00 08 | 00 00 00 20 56 49 44 45 |....v...|... VIDE|
|00000390| 4f 0d 0a 00 98 75 04 00 | 08 00 00 00 b3 0d 0a c0 |O....u..|........|
|000003a0| c4 c4 c4 c4 00 fe 74 04 | 00 22 00 00 00 5b 2f 41 |......t.|."...[/A|
|000003b0| 64 64 5d 20 7b 20 5b 2f | 28 52 65 73 70 65 63 74 |dd] { [/|(Respect|
|000003c0| 20 7c 20 49 67 6e 6f 72 | 65 29 5d 20 22 7b 22 00 | | Ignor|e)] "{".|
|000003d0| f3 74 04 00 08 00 00 00 | 20 20 53 59 6d 62 6f 6c |.t......| SYmbol|
|000003e0| 00 e1 74 04 00 08 00 00 | 00 22 7d 22 20 7d 09 09 |..t.....|."}" }..|
|000003f0| 09 00 97 72 04 00 1c 00 | 00 00 4f 4e 20 7c 20 4f |...r....|..ON | O|
|00000400| 46 66 20 09 09 09 09 09 | 09 20 20 20 b3 0d 0a b3 |Ff .....|. ....|
|00000410| 20 20 20 20 20 43 00 8a | 71 04 00 2f 00 00 00 64 | C..|q../...d|
|00000420| 69 72 65 63 74 6f 72 79 | 20 6f 66 20 74 68 65 20 |irectory| of the |
|00000430| 22 45 22 20 64 69 73 6b | 20 6f 66 20 74 68 65 20 |"E" disk| of the |
|00000440| 6c 6f 63 61 6c 20 6d 61 | 63 68 69 6e 65 2e 00 5b |local ma|chine..[|
|00000450| 71 04 00 2d 00 00 00 69 | 6c 65 73 20 6e 61 6d 65 |q..-...i|les name|
|00000460| 64 20 22 54 52 49 41 4c | 22 20 6f 66 20 61 6e 79 |d "TRIAL|" of any|
|00000470| 20 74 79 70 65 20 69 6e | 20 74 68 65 20 63 75 72 | type in| the cur|
|00000480| 72 65 6e 74 00 c5 67 02 | 00 08 00 00 00 20 6d 65 |rent..g.|..... me|
|00000490| 6d 6f 72 79 2e 00 a6 67 | 02 00 1a 00 00 00 66 69 |mory...g|......fi|
|000004a0| 6c 65 20 74 6f 20 62 65 | 20 6c 6f 61 64 65 64 20 |le to be| loaded |
|000004b0| 69 6e 74 6f 0d 0a 09 09 | 00 9f 74 01 00 4e 00 00 |into....|..t..N..|
|000004c0| 00 74 2e 0d 0a 0d 0a 2f | 50 6f 69 6e 74 65 72 20 |.t...../|Pointer |
|000004d0| 65 78 61 6d 5f 64 61 74 | 61 20 57 68 65 6e 20 74 |exam_dat|a When t|
|000004e0| 68 69 73 20 71 75 61 6c | 69 66 69 65 72 20 69 73 |his qual|ifier is|
|000004f0| 20 75 73 65 64 2c 20 74 | 68 65 20 6f 75 74 70 75 | used, t|he outpu|
|00000500| 74 20 66 72 6f 6d 20 74 | 68 65 20 45 78 61 6d 00 |t from t|he Exam.|
|00000510| 29 6c 01 00 0c 00 00 00 | 3a 3a 3a 3a 45 52 52 4f |)l......|::::ERRO|
|00000520| 52 0d 0a da 00 11 6c 01 | 00 16 00 00 00 74 69 6d |R.....l.|.....tim|
|00000530| 65 20 56 49 44 45 4f 20 | 69 73 20 69 6e 76 6f 6b |e VIDEO |is invok|
|00000540| 65 64 2e 00 00 00 00 00 | 10 6c 01 00 41 6c 6c 20 |ed......|.l..All |
|00000550| 68 65 6c 70 20 74 6f 70 | 69 63 73 20 6d 75 73 74 |help top|ics must|
|00000560| 20 62 65 20 73 74 6f 72 | 65 64 20 69 6e 20 6f 72 | be stor|ed in or|
|00000570| 64 65 72 20 6f 66 20 74 | 68 65 20 41 53 43 49 49 |der of t|he ASCII|
|00000580| 20 63 6f 6c 6c 61 74 69 | 6e 67 20 73 65 71 75 65 | collati|ng seque|
|00000590| 6e 63 65 2e 0d 0a 45 61 | 63 68 20 74 6f 70 69 63 |nce...Ea|ch topic|
|000005a0| 20 69 73 20 69 64 65 6e | 74 69 66 69 65 64 20 62 | is iden|tified b|
|000005b0| 79 20 61 20 68 65 61 64 | 65 72 20 63 6f 6e 73 69 |y a head|er consi|
|000005c0| 73 74 69 6e 67 20 6f 66 | 20 61 20 73 74 72 69 6e |sting of| a strin|
|000005d0| 67 20 6f 66 20 34 20 63 | 6f 6c 6f 6e 73 0d 0a 66 |g of 4 c|olons..f|
|000005e0| 6f 6c 6c 6f 77 65 64 20 | 62 79 20 74 68 65 20 74 |ollowed |by the t|
|000005f0| 6f 70 69 63 20 6e 61 6d | 65 2e 20 20 41 6e 79 20 |opic nam|e. Any |
|00000600| 61 6c 70 68 61 62 65 74 | 69 63 20 63 68 61 72 61 |alphabet|ic chara|
|00000610| 63 74 65 72 73 20 6d 75 | 73 74 20 62 65 20 65 6e |cters mu|st be en|
|00000620| 74 65 72 65 64 20 69 6e | 0d 0a 75 70 70 65 72 2d |tered in|..upper-|
|00000630| 63 61 73 65 2e 0d 0a 3a | 3a 3a 3a 41 55 54 4f 43 |case...:|:::AUTOC|
|00000640| 41 44 0d 0a 44 65 62 75 | 67 67 69 6e 67 20 41 75 |AD..Debu|gging Au|
|00000650| 74 6f 43 41 44 20 41 70 | 70 6c 69 63 61 74 69 6f |toCAD Ap|plicatio|
|00000660| 6e 73 0d 0a cd cd cd cd | cd cd cd cd cd cd cd cd |ns......|........|
|00000670| cd cd cd cd cd cd cd cd | cd cd cd cd cd cd cd cd |........|........|
|00000680| cd cd 0d 0a 0d 0a 56 49 | 44 45 4f 20 63 61 6e 20 |......VI|DEO can |
|00000690| 62 65 20 75 73 65 64 20 | 74 6f 20 64 65 62 75 67 |be used |to debug|
|000006a0| 20 41 75 74 6f 43 41 44 | 20 44 65 76 65 6c 6f 70 | AutoCAD| Develop|
|000006b0| 6d 65 6e 74 20 53 79 73 | 74 65 6d 20 28 41 44 53 |ment Sys|tem (ADS|
|000006c0| 29 20 61 6e 64 20 41 75 | 74 6f 43 41 44 0d 0a 44 |) and Au|toCAD..D|
|000006d0| 65 76 69 63 65 20 49 6e | 74 65 72 66 61 63 65 20 |evice In|terface |
|000006e0| 28 41 44 49 29 20 61 70 | 70 6c 69 63 61 74 69 6f |(ADI) ap|plicatio|
|000006f0| 6e 73 2e 20 20 42 65 66 | 6f 72 65 20 72 75 6e 6e |ns. Bef|ore runn|
|00000700| 69 6e 67 20 56 49 44 45 | 4f 2c 20 61 64 64 20 61 |ing VIDE|O, add a|
|00000710| 20 6c 69 6e 65 0d 0a 73 | 69 6d 69 6c 61 72 20 74 | line..s|imilar t|
|00000720| 6f 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |o the fo|llowing |
|00000730| 74 6f 20 79 6f 75 72 20 | 22 41 43 41 44 2e 41 44 |to your |"ACAD.AD|
|00000740| 53 22 20 66 69 6c 65 2e | 20 20 54 68 69 73 20 6c |S" file.| This l|
|00000750| 69 6e 65 20 73 70 65 63 | 69 66 69 65 73 20 74 68 |ine spec|ifies th|
|00000760| 65 0d 0a 70 61 74 68 20 | 74 6f 20 74 68 65 20 22 |e..path |to the "|
|00000770| 41 44 53 48 45 4c 50 2e | 45 58 50 22 20 66 69 6c |ADSHELP.|EXP" fil|
|00000780| 65 2e 0d 0a 0d 0a 20 20 | 43 3a 5c 57 41 54 43 4f |e..... |C:\WATCO|
|00000790| 4d 5c 42 49 4e 5c 41 44 | 53 48 45 4c 50 2e 45 58 |M\BIN\AD|SHELP.EX|
|000007a0| 50 0d 0a 0d 0a 54 68 65 | 20 66 69 6c 65 20 22 41 |P....The| file "A|
|000007b0| 43 41 44 2e 41 44 53 22 | 20 63 6f 6e 74 61 69 6e |CAD.ADS"| contain|
|000007c0| 73 20 61 20 6c 69 73 74 | 20 6f 66 20 41 75 74 6f |s a list| of Auto|
|000007d0| 43 41 44 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |CAD appl|ications|
|000007e0| 20 74 68 61 74 20 61 72 | 65 20 6c 6f 61 64 65 64 | that ar|e loaded|
|000007f0| 0d 0a 62 79 20 41 75 74 | 6f 43 41 44 20 77 68 65 |..by Aut|oCAD whe|
|00000800| 6e 20 41 75 74 6f 43 41 | 44 20 69 73 20 73 74 61 |n AutoCA|D is sta|
|00000810| 72 74 65 64 2e 20 20 22 | 41 44 53 48 45 4c 50 2e |rted. "|ADSHELP.|
|00000820| 45 58 50 22 20 69 73 20 | 61 6e 20 41 75 74 6f 43 |EXP" is |an AutoC|
|00000830| 41 44 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 0d 0a |AD appli|cation..|
|00000840| 74 68 61 74 20 69 73 20 | 72 65 71 75 69 72 65 64 |that is |required|
|00000850| 20 62 79 20 56 49 44 45 | 4f 20 66 6f 72 20 64 65 | by VIDE|O for de|
|00000860| 62 75 67 67 69 6e 67 20 | 41 75 74 6f 43 41 44 20 |bugging |AutoCAD |
|00000870| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 2e 0d 0a 0d |applicat|ions....|
|00000880| 0a 54 6f 20 64 65 62 75 | 67 20 61 6e 20 41 44 53 |.To debu|g an ADS|
|00000890| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 2c 20 61 20 | applica|tion, a |
|000008a0| 73 70 65 63 69 61 6c 20 | 74 72 61 70 20 66 69 6c |special |trap fil|
|000008b0| 65 20 22 41 44 53 2e 54 | 52 50 22 20 6d 75 73 74 |e "ADS.T|RP" must|
|000008c0| 20 62 65 20 75 73 65 64 | 2e 0d 0a 0d 0a da c4 c4 | be used|........|
|000008d0| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|000008e0| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|000008f0| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000900| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000910| c4 c4 c4 c4 c4 c4 c4 c4 | bf 0d 0a b3 20 57 56 49 |........|.... WVI|
|00000920| 44 45 4f 20 2f 54 52 61 | 70 3d 41 44 53 09 09 09 |DEO /TRa|p=ADS...|
|00000930| 09 09 09 09 20 20 20 b3 | 0d 0a c0 c4 c4 c4 c4 c4 |.... .|........|
|00000940| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000950| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000960| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000970| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000980| c4 c4 c4 c4 c4 d9 0d 0a | 0d 0a 49 66 20 79 6f 75 |........|..If you|
|00000990| 20 64 6f 20 6e 6f 74 20 | 68 61 76 65 20 61 20 74 | do not |have a t|
|000009a0| 77 6f 2d 6d 6f 6e 69 74 | 6f 72 20 73 65 74 75 70 |wo-monit|or setup|
|000009b0| 2c 20 79 6f 75 20 73 68 | 6f 75 6c 64 20 61 6c 73 |, you sh|ould als|
|000009c0| 6f 20 73 70 65 63 69 66 | 79 20 74 68 65 20 22 73 |o specif|y the "s|
|000009d0| 77 61 70 22 0d 0a 6f 70 | 74 69 6f 6e 2e 0d 0a 0d |wap"..op|tion....|
|000009e0| 0a da c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|000009f0| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000a00| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000a10| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000a20| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 bf 0d 0a b3 |........|........|
|00000a30| 20 57 56 49 44 45 4f 20 | 2f 54 52 61 70 3d 41 44 | WVIDEO |/TRap=AD|
|00000a40| 53 20 2f 53 77 61 70 09 | 09 09 09 09 09 20 20 20 |S /Swap.|..... |
|00000a50| b3 0d 0a c0 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000a60| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000a70| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000a80| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000a90| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 d9 0d |........|........|
|00000aa0| 0a 0d 0a 4e 6f 74 65 20 | 74 68 61 74 20 77 65 20 |...Note |that we |
|00000ab0| 64 69 64 20 6e 6f 74 20 | 73 70 65 63 69 66 79 20 |did not |specify |
|00000ac0| 74 68 65 20 41 75 74 6f | 43 41 44 20 65 78 65 63 |the Auto|CAD exec|
|00000ad0| 75 74 61 62 6c 65 20 66 | 69 6c 65 3b 20 74 68 65 |utable f|ile; the|
|00000ae0| 20 74 72 61 70 20 66 69 | 6c 65 2c 0d 0a 22 41 44 | trap fi|le,.."AD|
|00000af0| 53 2e 54 52 50 22 2c 20 | 77 69 6c 6c 20 6c 6f 61 |S.TRP", |will loa|
|00000b00| 64 20 41 75 74 6f 43 41 | 44 20 61 75 74 6f 6d 61 |d AutoCA|D automa|
|00000b10| 74 69 63 61 6c 6c 79 2e | 20 20 59 6f 75 20 73 68 |tically.| You sh|
|00000b20| 6f 75 6c 64 20 6e 6f 77 | 20 62 65 20 69 6e 20 56 |ould now| be in V|
|00000b30| 49 44 45 4f 2e 20 20 41 | 74 0d 0a 74 68 69 73 20 |IDEO. A|t..this |
|00000b40| 70 6f 69 6e 74 2c 20 65 | 6e 74 65 72 20 74 68 65 |point, e|nter the|
|00000b50| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 64 65 62 75 67 | followi|ng debug|
|00000b60| 67 65 72 20 63 6f 6d 6d | 61 6e 64 20 73 70 65 63 |ger comm|and spec|
|00000b70| 69 66 79 69 6e 67 20 74 | 68 65 20 6e 61 6d 65 20 |ifying t|he name |
|00000b80| 6f 66 20 74 68 65 0d 0a | 66 69 6c 65 20 63 6f 6e |of the..|file con|
|00000b90| 74 61 69 6e 69 6e 67 20 | 74 68 65 20 73 79 6d 62 |taining |the symb|
|00000ba0| 6f 6c 69 63 20 64 65 62 | 75 67 67 69 6e 67 20 69 |olic deb|ugging i|
|00000bb0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 66 6f 72 20 79 |nformati|on for y|
|00000bc0| 6f 75 72 20 41 75 74 6f | 43 41 44 0d 0a 61 70 70 |our Auto|CAD..app|
|00000bd0| 6c 69 63 61 74 69 6f 6e | 2e 20 20 54 68 69 73 20 |lication|. This |
|00000be0| 69 73 20 65 69 74 68 65 | 72 20 74 68 65 20 65 78 |is eithe|r the ex|
|00000bf0| 65 63 75 74 61 62 6c 65 | 20 66 69 6c 65 20 6f 72 |ecutable| file or|
|00000c00| 20 61 20 73 79 6d 62 6f | 6c 69 63 20 64 65 62 75 | a symbo|lic debu|
|00000c10| 67 67 69 6e 67 0d 0a 69 | 6e 66 6f 72 6d 61 74 69 |gging..i|nformati|
|00000c20| 6f 6e 20 66 69 6c 65 20 | 69 66 20 74 68 65 20 57 |on file |if the W|
|00000c30| 41 54 43 4f 4d 20 53 74 | 72 69 70 20 55 74 69 6c |ATCOM St|rip Util|
|00000c40| 69 74 79 20 77 61 73 20 | 75 73 65 64 2e 0d 0a 0d |ity was |used....|
|00000c50| 0a da c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000c60| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000c70| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000c80| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000c90| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 bf 0d 0a b3 |........|........|
|00000ca0| 20 44 42 47 3e 61 64 73 | 20 66 69 6c 65 5f 73 70 | DBG>ads| file_sp|
|00000cb0| 65 63 09 09 09 09 09 09 | 09 20 20 20 b3 0d 0a c0 |ec......|. ....|
|00000cc0| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000cd0| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000ce0| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000cf0| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000d00| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 d9 0d 0a 0d 0a 59 |........|.......Y|
|00000d10| 6f 75 20 73 68 6f 75 6c | 64 20 6e 6f 77 20 62 65 |ou shoul|d now be|
|00000d20| 20 69 6e 20 41 75 74 6f | 43 41 44 2e 20 20 57 68 | in Auto|CAD. Wh|
|00000d30| 65 6e 20 79 6f 75 20 6c | 6f 61 64 20 79 6f 75 72 |en you l|oad your|
|00000d40| 20 41 75 74 6f 43 41 44 | 20 61 70 70 6c 69 63 61 | AutoCAD| applica|
|00000d50| 74 69 6f 6e 20 66 72 6f | 6d 0d 0a 41 75 74 6f 4c |tion fro|m..AutoL|
|00000d60| 49 53 50 2c 20 74 68 65 | 20 64 65 62 75 67 67 65 |ISP, the| debugge|
|00000d70| 72 20 77 69 6c 6c 20 62 | 65 20 65 6e 74 65 72 65 |r will b|e entere|
|00000d80| 64 20 61 6e 64 20 73 6f | 75 72 63 65 20 66 6f 72 |d and so|urce for|
|00000d90| 20 79 6f 75 72 20 70 72 | 6f 67 72 61 6d 20 73 68 | your pr|ogram sh|
|00000da0| 6f 75 6c 64 20 62 65 0d | 0a 64 69 73 70 6c 61 79 |ould be.|.display|
|00000db0| 65 64 20 69 6e 20 74 68 | 65 20 73 6f 75 72 63 65 |ed in th|e source|
|00000dc0| 20 77 69 6e 64 6f 77 2e | 20 20 54 68 65 20 66 69 | window.| The fi|
|00000dd0| 6c 65 20 22 41 44 53 2e | 44 42 47 22 20 63 6f 6e |le "ADS.|DBG" con|
|00000de0| 74 61 69 6e 73 20 61 20 | 73 65 71 75 65 6e 63 65 |tains a |sequence|
|00000df0| 20 6f 66 0d 0a 64 65 62 | 75 67 67 65 72 20 63 6f | of..deb|ugger co|
|00000e00| 6d 6d 61 6e 64 73 20 74 | 68 61 74 20 73 74 61 72 |mmands t|hat star|
|00000e10| 74 73 20 41 75 74 6f 43 | 41 44 2c 20 6c 6f 61 64 |ts AutoC|AD, load|
|00000e20| 73 20 74 68 65 20 64 65 | 62 75 67 67 69 6e 67 20 |s the de|bugging |
|00000e30| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 66 72 6f 6d |informat|ion from|
|00000e40| 0d 0a 74 68 65 20 65 78 | 65 63 75 74 61 62 6c 65 |..the ex|ecutable|
|00000e50| 20 66 69 6c 65 20 79 6f | 75 20 73 70 65 63 69 66 | file yo|u specif|
|00000e60| 79 2c 20 61 6e 64 20 72 | 65 6c 6f 63 61 74 65 73 |y, and r|elocates|
|00000e70| 20 61 64 64 72 65 73 73 | 20 69 6e 66 6f 72 6d 61 | address| informa|
|00000e80| 74 69 6f 6e 20 62 61 73 | 65 64 20 6f 6e 0d 0a 74 |tion bas|ed on..t|
|00000e90| 68 65 20 63 6f 64 65 20 | 61 6e 64 20 64 61 74 61 |he code |and data|
|00000ea0| 20 73 65 6c 65 63 74 6f | 72 20 76 61 6c 75 65 73 | selecto|r values|
|00000eb0| 20 66 6f 72 20 79 6f 75 | 72 20 61 70 70 6c 69 63 | for you|r applic|
|00000ec0| 61 74 69 6f 6e 2e 20 20 | 59 6f 75 20 61 72 65 20 |ation. |You are |
|00000ed0| 6e 6f 77 20 72 65 61 64 | 79 0d 0a 74 6f 20 64 65 |now read|y..to de|
|00000ee0| 62 75 67 20 79 6f 75 72 | 20 41 75 74 6f 43 41 44 |bug your| AutoCAD|
|00000ef0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 2e 0d 0a 0d | applica|tion....|
|00000f00| 0a 46 6f 72 20 6c 61 72 | 67 65 20 41 75 74 6f 43 |.For lar|ge AutoC|
|00000f10| 41 44 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 2c |AD appli|cations,|
|00000f20| 20 79 6f 75 20 6d 61 79 | 20 67 65 74 20 61 6e 20 | you may| get an |
|00000f30| 65 72 72 6f 72 20 77 68 | 65 6e 20 74 68 65 20 22 |error wh|en the "|
|00000f40| 41 44 53 22 20 64 65 62 | 75 67 67 65 72 0d 0a 63 |ADS" deb|ugger..c|
|00000f50| 6f 6d 6d 61 6e 64 20 66 | 69 6c 65 20 69 73 20 69 |ommand f|ile is i|
|00000f60| 6e 76 6f 6b 65 64 20 69 | 6e 64 69 63 61 74 69 6e |nvoked i|ndicatin|
|00000f70| 67 20 74 68 61 74 20 74 | 68 65 20 64 65 62 75 67 |g that t|he debug|
|00000f80| 67 65 72 20 77 61 73 20 | 75 6e 61 62 6c 65 20 74 |ger was |unable t|
|00000f90| 6f 20 6c 6f 61 64 20 74 | 68 65 0d 0a 64 65 62 75 |o load t|he..debu|
|00000fa0| 67 67 69 6e 67 20 69 6e | 66 6f 72 6d 61 74 69 6f |gging in|formatio|
|00000fb0| 6e 20 66 72 6f 6d 20 74 | 68 65 20 65 78 65 63 75 |n from t|he execu|
|00000fc0| 74 61 62 6c 65 20 66 69 | 6c 65 20 62 65 63 61 75 |table fi|le becau|
|00000fd0| 73 65 20 6f 66 20 6d 65 | 6d 6f 72 79 20 63 6f 6e |se of me|mory con|
|00000fe0| 73 74 72 61 69 6e 74 73 | 2e 0d 0a 49 66 20 74 68 |straints|...If th|
|00000ff0| 65 20 65 72 72 6f 72 20 | 6d 65 73 73 61 67 65 20 |e error |message |
|00001000| 22 6e 6f 20 6d 65 6d 6f | 72 79 20 66 6f 72 20 64 |"no memo|ry for d|
|00001010| 65 62 75 67 67 69 6e 67 | 20 69 6e 66 6f 72 6d 61 |ebugging| informa|
|00001020| 74 69 6f 6e 22 20 6f 72 | 0d 0a 22 6e 6f 20 6d 65 |tion" or|.."no me|
|00001030| 6d 6f 72 79 20 66 6f 72 | 20 64 65 62 75 67 67 69 |mory for| debuggi|
|00001040| 6e 67 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 2d |ng infor|mation -|
|00001050| 20 69 6e 63 72 65 61 73 | 65 20 64 79 6e 61 6d 69 | increas|e dynami|
|00001060| 63 20 6d 65 6d 6f 72 79 | 22 20 69 73 20 69 73 73 |c memory|" is iss|
|00001070| 75 65 64 2c 0d 0a 75 73 | 65 20 74 68 65 20 64 65 |ued,..us|e the de|
|00001080| 62 75 67 67 65 72 20 22 | 64 79 6e 61 6d 69 63 22 |bugger "|dynamic"|
|00001090| 20 6f 70 74 69 6f 6e 20 | 74 6f 20 69 6e 63 72 65 | option |to incre|
|000010a0| 61 73 65 20 74 68 65 20 | 61 6d 6f 75 6e 74 20 6f |ase the |amount o|
|000010b0| 66 20 64 79 6e 61 6d 69 | 63 20 6d 65 6d 6f 72 79 |f dynami|c memory|
|000010c0| 0d 0a 28 74 68 65 20 64 | 65 66 61 75 6c 74 20 69 |..(the d|efault i|
|000010d0| 73 20 34 30 6b 29 2e 20 | 20 54 68 65 20 66 6f 6c |s 40k). | The fol|
|000010e0| 6c 6f 77 69 6e 67 20 65 | 78 61 6d 70 6c 65 20 69 |lowing e|xample i|
|000010f0| 6e 63 72 65 61 73 65 73 | 20 74 68 65 20 61 6d 6f |ncreases| the amo|
|00001100| 75 6e 74 20 6f 66 20 64 | 79 6e 61 6d 69 63 0d 0a |unt of d|ynamic..|
|00001110| 6d 65 6d 6f 72 79 20 74 | 6f 20 36 30 6b 2e 0d 0a |memory t|o 60k...|
|00001120| 0d 0a 45 78 61 6d 70 6c | 65 3a 0d 0a 20 20 43 3e |..Exampl|e:.. C>|
|00001130| 77 76 69 64 65 6f 20 2f | 74 72 61 70 3d 61 64 73 |wvideo /|trap=ads|
|00001140| 20 2f 73 77 61 70 20 2f | 64 79 6e 61 6d 69 63 3d | /swap /|dynamic=|
|00001150| 36 30 6b 0d 0a 3a 3a 3a | 3a 42 52 45 41 4b 0d 0a |60k..:::|:BREAK..|
|00001160| da c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00001170| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00001180| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00001190| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|000011a0| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 bf 0d 0a b3 20 |........|....... |
|000011b0| 42 72 65 61 6b 20 09 09 | 09 09 09 09 09 09 20 20 |Break ..|...... |
|000011c0| 20 b3 0d 0a b3 20 20 20 | 20 20 2f 41 63 74 69 76 | .... | /Activ|
|000011d0| 61 74 65 20 20 20 20 22 | 2a 22 20 7c 20 69 6e 64 |ate "|*" | ind|
|000011e0| 65 78 5f 65 78 70 72 20 | 7c 20 22 2f 22 20 61 64 |ex_expr || "/" ad|
|000011f0| 64 72 5f 65 78 70 72 09 | 09 09 20 20 20 b3 0d 0a |dr_expr.|.. ...|
|00001200| b3 20 20 20 20 20 2f 44 | 65 61 63 74 69 76 61 74 |. /D|eactivat|
|00001210| 65 20 20 22 2a 22 20 7c | 20 69 6e 64 65 78 5f 65 |e "*" || index_e|
|00001220| 78 70 72 20 7c 20 22 2f | 22 20 61 64 64 72 5f 65 |xpr | "/|" addr_e|
|00001230| 78 70 72 09 09 09 20 20 | 20 b3 0d 0a b3 20 20 20 |xpr... | .... |
|00001240| 20 20 5b 2f 53 65 74 5d | 09 20 20 20 61 64 64 72 | [/Set]|. addr|
|00001250| 5f 65 78 70 72 20 20 5b | 20 63 6d 64 5f 6c 69 73 |_expr [| cmd_lis|
|00001260| 74 20 5d 09 09 09 09 20 | 20 20 b3 0d 0a b3 20 20 |t ].... | .... |
|00001270| 20 20 20 2f 43 6c 65 61 | 72 09 20 20 20 22 2a 22 | /Clea|r. "*"|
|00001280| 20 7c 20 69 6e 64 65 78 | 5f 65 78 70 72 20 7c 20 | | index|_expr | |
|00001290| 22 2f 22 20 61 64 64 72 | 5f 65 78 70 72 09 09 09 |"/" addr|_expr...|
|000012a0| 20 20 20 b3 0d 0a c0 c4 | c4 c4 c4 c4 c4 c4 c4 c4 | .....|........|
|000012b0| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|000012c0| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|000012d0| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|000012e0| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|000012f0| c4 d9 0d 0a 0d 0a 41 20 | 62 72 65 61 6b 20 70 6f |......A |break po|
|00001300| 69 6e 74 20 64 65 66 69 | 6e 65 73 20 61 20 70 6c |int defi|nes a pl|
|00001310| 61 63 65 20 69 6e 20 61 | 6e 20 61 70 70 6c 69 63 |ace in a|n applic|
|00001320| 61 74 69 6f 6e 20 77 68 | 65 72 65 20 77 65 20 77 |ation wh|ere we w|
|00001330| 6f 75 6c 64 20 6c 69 6b | 65 0d 0a 65 78 65 63 75 |ould lik|e..execu|
|00001340| 74 69 6f 6e 20 74 6f 20 | 73 75 73 70 65 6e 64 20 |tion to |suspend |
|00001350| 73 6f 20 74 68 61 74 20 | 77 65 20 6d 69 67 68 74 |so that |we might|
|00001360| 20 65 78 61 6d 69 6e 65 | 20 74 68 65 20 63 75 72 | examine| the cur|
|00001370| 72 65 6e 74 20 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 |rent env|ironment|
|00001380| 2e 09 41 0d 0a 62 72 65 | 61 6b 20 70 6f 69 6e 74 |..A..bre|ak point|
|00001390| 20 6d 61 79 20 62 65 20 | 64 65 66 69 6e 65 64 20 | may be |defined |
|000013a0| 62 79 20 75 73 69 6e 67 | 20 74 68 65 20 2f 53 65 |by using| the /Se|
|000013b0| 74 20 71 75 61 6c 69 66 | 69 65 72 20 6f 72 20 72 |t qualif|ier or r|
|000013c0| 65 6d 6f 76 65 64 20 62 | 79 20 75 73 69 6e 67 0d |emoved b|y using.|
|000013d0| 0a 74 68 65 20 2f 43 6c | 65 61 72 20 71 75 61 6c |.the /Cl|ear qual|
|000013e0| 69 66 69 65 72 2c 20 65 | 6e 61 62 6c 65 64 20 62 |ifier, e|nabled b|
|000013f0| 79 20 75 73 69 6e 67 20 | 74 68 65 20 2f 41 63 74 |y using |the /Act|
|00001400| 69 76 61 74 65 20 71 75 | 61 6c 69 66 69 65 72 20 |ivate qu|alifier |
|00001410| 6f 72 20 64 69 73 61 62 | 6c 65 64 0d 0a 62 79 20 |or disab|led..by |
|00001420| 75 73 69 6e 67 20 74 68 | 65 20 2f 44 65 61 63 74 |using th|e /Deact|
|00001430| 69 76 61 74 65 20 71 75 | 61 6c 69 66 69 65 72 2e |ivate qu|alifier.|
|00001440| 20 20 55 70 20 74 6f 20 | 37 20 62 72 65 61 6b 20 | Up to |7 break |
|00001450| 70 6f 69 6e 74 73 20 6d | 61 79 20 62 65 20 64 65 |points m|ay be de|
|00001460| 66 69 6e 65 64 20 62 79 | 0d 0a 75 73 69 6e 67 20 |fined by|..using |
|00001470| 74 68 65 20 2f 53 65 74 | 20 71 75 61 6c 69 66 69 |the /Set| qualifi|
|00001480| 65 72 2e 20 20 2f 53 65 | 74 20 69 73 20 69 6d 70 |er. /Se|t is imp|
|00001490| 6c 69 65 64 20 77 68 65 | 6e 20 6e 6f 20 6f 74 68 |lied whe|n no oth|
|000014a0| 65 72 20 71 75 61 6c 69 | 66 69 65 72 73 20 61 72 |er quali|fiers ar|
|000014b0| 65 0d 0a 73 70 65 63 69 | 66 69 65 64 2e 0d 0a 0d |e..speci|fied....|
|000014c0| 0a 45 78 61 6d 70 6c 65 | 3a 0d 0a 20 20 44 42 47 |.Example|:.. DBG|
|000014d0| 3e 62 72 65 61 6b 2f 73 | 65 74 20 6d 61 69 6e 5f |>break/s|et main_|
|000014e0| 0d 0a 20 20 44 42 47 3e | 62 72 65 61 6b 20 6d 61 |.. DBG>|break ma|
|000014f0| 69 6e 5f 0d 0a 0d 0a 49 | 6e 20 74 68 65 20 61 62 |in_....I|n the ab|
|00001500| 6f 76 65 20 65 78 61 6d | 70 6c 65 2c 20 74 77 6f |ove exam|ple, two|
|00001510| 20 65 71 75 69 76 61 6c | 65 6e 74 20 63 6f 6d 6d | equival|ent comm|
|00001520| 61 6e 64 73 20 61 72 65 | 20 73 68 6f 77 6e 2e 20 |ands are| shown. |
|00001530| 20 41 20 62 72 65 61 6b | 20 70 6f 69 6e 74 20 69 | A break| point i|
|00001540| 73 0d 0a 64 65 66 69 6e | 65 64 20 61 6e 64 20 61 |s..defin|ed and a|
|00001550| 75 74 6f 6d 61 74 69 63 | 61 6c 6c 79 20 61 63 74 |utomatic|ally act|
|00001560| 69 76 61 74 65 64 20 66 | 6f 72 20 74 68 65 20 6d |ivated f|or the m|
|00001570| 65 6d 6f 72 79 20 6c 6f | 63 61 74 69 6f 6e 20 64 |emory lo|cation d|
|00001580| 65 66 69 6e 65 64 20 62 | 79 20 74 68 65 0d 0a 67 |efined b|y the..g|
|00001590| 6c 6f 62 61 6c 20 73 79 | 6d 62 6f 6c 20 6d 61 69 |lobal sy|mbol mai|
|000015a0| 6e 5f 2e 20 20 4f 6e 6c | 79 20 6f 6e 65 20 62 72 |n_. Onl|y one br|
|000015b0| 65 61 6b 20 70 6f 69 6e | 74 20 6d 61 79 20 62 65 |eak poin|t may be|
|000015c0| 20 73 70 65 63 69 66 69 | 65 64 20 66 6f 72 20 61 | specifi|ed for a|
|000015d0| 20 70 61 72 74 69 63 75 | 6c 61 72 0d 0a 6c 6f 63 | particu|lar..loc|
|000015e0| 61 74 69 6f 6e 20 69 6e | 20 6d 65 6d 6f 72 79 2e |ation in| memory.|
|000015f0| 20 20 41 20 22 73 65 74 | 22 20 62 72 65 61 6b 20 | A "set|" break |
|00001600| 70 6f 69 6e 74 20 69 73 | 20 69 6e 64 69 63 61 74 |point is| indicat|
|00001610| 65 64 20 69 6e 20 74 68 | 65 20 53 6f 75 72 63 65 |ed in th|e Source|
|00001620| 20 61 6e 64 0d 0a 41 73 | 73 65 6d 62 6c 79 20 77 | and..As|sembly w|
|00001630| 69 6e 64 6f 77 73 20 62 | 79 20 61 20 6c 65 66 74 |indows b|y a left|
|00001640| 2d 70 6f 69 6e 74 69 6e | 67 20 61 72 72 6f 77 20 |-pointin|g arrow |
|00001650| 28 1b 29 2e 0d 0a 0d 0a | 41 20 62 72 65 61 6b 20 |(.).....|A break |
|00001660| 70 6f 69 6e 74 20 6d 61 | 79 20 61 6c 73 6f 20 62 |point ma|y also b|
|00001670| 65 20 73 70 65 63 69 66 | 69 65 64 20 69 6e 20 74 |e specif|ied in t|
|00001680| 65 72 6d 73 20 6f 66 20 | 74 68 65 20 6d 6f 64 75 |erms of |the modu|
|00001690| 6c 65 20 6e 61 6d 65 20 | 61 6e 64 20 6c 69 6e 65 |le name |and line|
|000016a0| 0d 0a 6e 75 6d 62 65 72 | 2e 0d 0a 0d 0a 45 78 61 |..number|.....Exa|
|000016b0| 6d 70 6c 65 3a 0d 0a 20 | 20 44 42 47 3e 62 72 65 |mple:.. | DBG>bre|
|000016c0| 61 6b 20 63 61 6c 65 6e | 64 61 72 40 33 36 0d 0a |ak calen|dar@36..|
|000016d0| 0d 0a 41 66 74 65 72 20 | 74 68 65 20 63 6f 6d 6d |..After |the comm|
|000016e0| 61 6e 64 20 69 73 20 65 | 6e 74 65 72 65 64 2c 20 |and is e|ntered, |
|000016f0| 61 6e 20 61 72 72 6f 77 | 20 28 1b 29 2c 20 69 6e |an arrow| (.), in|
|00001700| 64 69 63 61 74 69 6e 67 | 20 61 20 62 72 65 61 6b |dicating| a break|
|00001710| 20 70 6f 69 6e 74 2c 0d | 0a 61 70 70 65 61 72 73 | point,.|.appears|
|00001720| 20 61 74 20 74 68 65 20 | 73 74 61 72 74 20 6f 66 | at the |start of|
|00001730| 20 74 68 65 20 6c 69 6e | 65 2e 0d 0a 0d 0a 4c 69 | the lin|e.....Li|
|00001740| 6e 65 20 6e 75 6d 62 65 | 72 73 20 61 72 65 20 73 |ne numbe|rs are s|
|00001750| 68 6f 77 6e 20 69 6e 20 | 74 68 65 20 53 6f 75 72 |hown in |the Sour|
|00001760| 63 65 20 77 69 6e 64 6f | 77 2e 20 20 53 6f 75 72 |ce windo|w. Sour|
|00001770| 63 65 20 6c 69 6e 65 20 | 69 6e 66 6f 72 6d 61 74 |ce line |informat|
|00001780| 69 6f 6e 20 6d 75 73 74 | 0d 0a 62 65 20 61 76 61 |ion must|..be ava|
|00001790| 69 6c 61 62 6c 65 20 69 | 6e 20 6f 72 64 65 72 20 |ilable i|n order |
|000017a0| 74 6f 20 73 68 6f 77 20 | 73 6f 75 72 63 65 20 6c |to show |source l|
|000017b0| 69 6e 65 20 6e 75 6d 62 | 65 72 73 2e 0d 0a 0d 0a |ine numb|ers.....|
|000017c0| 20 20 31 2e 20 45 69 74 | 68 65 72 20 63 6f 6d 70 | 1. Eit|her comp|
|000017d0| 69 6c 65 72 20 6f 70 74 | 69 6f 6e 73 20 22 64 31 |iler opt|ions "d1|
|000017e0| 22 20 6f 72 20 22 64 32 | 22 20 6d 75 73 74 20 68 |" or "d2|" must h|
|000017f0| 61 76 65 20 62 65 65 6e | 20 73 70 65 63 69 66 69 |ave been| specifi|
|00001800| 65 64 20 77 68 65 6e 20 | 74 68 65 0d 0a 20 20 20 |ed when |the.. |
|00001810| 20 6d 6f 64 75 6c 65 20 | 77 61 73 20 63 6f 6d 70 | module |was comp|
|00001820| 69 6c 65 64 2e 0d 0a 20 | 20 32 2e 20 54 68 65 20 |iled... | 2. The |
|00001830| 22 64 65 62 75 67 20 6c | 69 6e 65 73 22 20 6f 72 |"debug l|ines" or|
|00001840| 20 22 64 65 62 75 67 20 | 61 6c 6c 22 20 6c 69 6e | "debug |all" lin|
|00001850| 6b 65 72 20 6f 70 74 69 | 6f 6e 20 6d 75 73 74 20 |ker opti|on must |
|00001860| 68 61 76 65 20 70 72 65 | 63 65 64 65 64 20 74 68 |have pre|ceded th|
|00001870| 65 0d 0a 20 20 20 20 6e | 61 6d 65 20 6f 66 20 74 |e.. n|ame of t|
|00001880| 68 65 20 6f 62 6a 65 63 | 74 20 66 69 6c 65 20 63 |he objec|t file c|
|00001890| 6f 6e 74 61 69 6e 69 6e | 67 20 74 68 65 20 6d 6f |ontainin|g the mo|
|000018a0| 64 75 6c 65 20 77 68 65 | 6e 20 74 68 65 20 61 70 |dule whe|n the ap|
|000018b0| 70 6c 69 63 61 74 69 6f | 6e 20 77 61 73 0d 0a 20 |plicatio|n was.. |
|000018c0| 20 20 20 6c 69 6e 6b 65 | 64 2e 0d 0a 0d 0a 54 68 | linke|d.....Th|
|000018d0| 65 20 6d 6f 64 75 6c 65 | 20 6e 61 6d 65 20 6e 65 |e module| name ne|
|000018e0| 65 64 20 6e 6f 74 20 62 | 65 20 73 70 65 63 69 66 |ed not b|e specif|
|000018f0| 69 65 64 20 77 68 65 6e | 20 69 74 20 69 73 20 74 |ied when| it is t|
|00001900| 68 65 20 63 75 72 72 65 | 6e 74 20 6d 6f 64 75 6c |he curre|nt modul|
|00001910| 65 20 75 6e 64 65 72 0d | 0a 65 78 61 6d 69 6e 61 |e under.|.examina|
|00001920| 74 69 6f 6e 2e 0d 0a 0d | 0a 45 78 61 6d 70 6c 65 |tion....|.Example|
|00001930| 3a 0d 0a 20 20 44 42 47 | 3e 62 72 65 61 6b 20 40 |:.. DBG|>break @|
|00001940| 33 36 0d 0a 0d 0a 41 20 | 62 72 65 61 6b 20 70 6f |36....A |break po|
|00001950| 69 6e 74 20 6d 61 79 20 | 62 65 20 73 70 65 63 69 |int may |be speci|
|00001960| 66 69 65 64 20 69 6e 20 | 74 65 72 6d 73 20 6f 66 |fied in |terms of|
|00001970| 20 61 20 6d 6f 64 75 6c | 65 20 6e 61 6d 65 20 61 | a modul|e name a|
|00001980| 6e 64 20 73 79 6d 62 6f | 6c 20 6e 61 6d 65 2e 0d |nd symbo|l name..|
|00001990| 0a 0d 0a 45 78 61 6d 70 | 6c 65 3a 0d 0a 20 20 44 |...Examp|le:.. D|
|000019a0| 42 47 3e 62 72 65 61 6b | 20 63 61 6c 65 6e 64 61 |BG>break| calenda|
|000019b0| 72 40 42 6f 78 0d 0a 0d | 0a 41 73 20 77 69 74 68 |r@Box...|.As with|
|000019c0| 20 6c 69 6e 65 20 6e 75 | 6d 62 65 72 73 2c 20 74 | line nu|mbers, t|
|000019d0| 68 65 20 6d 6f 64 75 6c | 65 20 6e 61 6d 65 20 6e |he modul|e name n|
|000019e0| 65 65 64 20 6e 6f 74 20 | 62 65 20 73 70 65 63 69 |eed not |be speci|
|000019f0| 66 69 65 64 20 77 68 65 | 6e 20 69 74 20 69 73 20 |fied whe|n it is |
|00001a00| 74 68 65 0d 0a 63 75 72 | 72 65 6e 74 20 6d 6f 64 |the..cur|rent mod|
|00001a10| 75 6c 65 20 75 6e 64 65 | 72 20 65 78 61 6d 69 6e |ule unde|r examin|
|00001a20| 61 74 69 6f 6e 2e 0d 0a | 0d 0a 45 78 61 6d 70 6c |ation...|..Exampl|
|00001a30| 65 3a 0d 0a 20 20 44 42 | 47 3e 62 72 65 61 6b 20 |e:.. DB|G>break |
|00001a40| 42 6f 78 0d 0a 0d 0a 57 | 68 65 6e 20 73 70 65 63 |Box....W|hen spec|
|00001a50| 69 66 79 69 6e 67 20 74 | 68 65 20 73 79 6d 62 6f |ifying t|he symbo|
|00001a60| 6c 20 6e 61 6d 65 20 6f | 6e 6c 79 2c 20 74 68 65 |l name o|nly, the|
|00001a70| 20 22 40 22 20 69 73 20 | 6e 6f 74 20 6e 65 63 65 | "@" is |not nece|
|00001a80| 73 73 61 72 79 2e 20 20 | 54 68 65 20 22 40 22 20 |ssary. |The "@" |
|00001a90| 69 73 0d 0a 61 6c 77 61 | 79 73 20 72 65 71 75 69 |is..alwa|ys requi|
|00001aa0| 72 65 64 20 77 69 74 68 | 20 6c 69 6e 65 20 6e 75 |red with| line nu|
|00001ab0| 6d 62 65 72 73 2c 20 73 | 69 6e 63 65 20 74 68 69 |mbers, s|ince thi|
|00001ac0| 73 20 64 69 73 74 69 6e | 67 75 69 73 68 65 73 20 |s distin|guishes |
|00001ad0| 74 68 65 6d 20 66 72 6f | 6d 0d 0a 63 6f 6e 73 74 |them fro|m..const|
|00001ae0| 61 6e 74 73 20 28 65 2e | 67 2e 2c 20 22 62 72 65 |ants (e.|g., "bre|
|00001af0| 61 6b 20 33 36 22 20 69 | 73 20 65 71 75 69 76 61 |ak 36" i|s equiva|
|00001b00| 6c 65 6e 74 20 74 6f 20 | 22 62 72 65 61 6b 20 63 |lent to |"break c|
|00001b10| 73 3a 33 36 22 29 2e 0d | 0a 0d 0a 41 20 62 72 65 |s:36")..|...A bre|
|00001b20| 61 6b 20 70 6f 69 6e 74 | 20 6d 61 79 20 61 6c 73 |ak point| may als|
|00001b30| 6f 20 62 65 20 73 65 74 | 20 6f 72 20 63 6c 65 61 |o be set| or clea|
|00001b40| 72 65 64 20 77 69 74 68 | 20 74 68 65 20 6d 6f 75 |red with| the mou|
|00001b50| 73 65 2e 20 20 54 6f 20 | 73 65 74 20 61 20 62 72 |se. To |set a br|
|00001b60| 65 61 6b 0d 0a 70 6f 69 | 6e 74 2c 20 64 6f 75 62 |eak..poi|nt, doub|
|00001b70| 6c 65 2d 63 6c 69 63 6b | 20 74 68 65 20 6d 6f 75 |le-click| the mou|
|00001b80| 73 65 20 6f 6e 20 74 68 | 65 20 64 65 73 69 72 65 |se on th|e desire|
|00001b90| 64 20 73 6f 75 72 63 65 | 20 6c 69 6e 65 20 6f 72 |d source| line or|
|00001ba0| 20 61 73 73 65 6d 62 6c | 79 20 6c 69 6e 65 2e 0d | assembl|y line..|
|00001bb0| 0a 41 20 73 75 62 73 65 | 71 75 65 6e 74 20 64 6f |.A subse|quent do|
|00001bc0| 75 62 6c 65 2d 63 6c 69 | 63 6b 20 6f 6e 20 74 68 |uble-cli|ck on th|
|00001bd0| 65 20 73 61 6d 65 20 6c | 69 6e 65 20 77 69 6c 6c |e same l|ine will|
|00001be0| 20 63 6c 65 61 72 20 74 | 68 65 20 62 72 65 61 6b | clear t|he break|
|00001bf0| 2e 0d 0a 0d 0a 57 68 65 | 6e 20 74 68 65 20 74 68 |.....Whe|n the th|
|00001c00| 72 65 61 64 20 6f 66 20 | 65 78 65 63 75 74 69 6f |read of |executio|
|00001c10| 6e 20 65 6e 63 6f 75 6e | 74 65 72 73 20 61 6e 20 |n encoun|ters an |
|00001c20| 61 63 74 69 76 65 20 62 | 72 65 61 6b 20 70 6f 69 |active b|reak poi|
|00001c30| 6e 74 2c 20 61 70 70 6c | 69 63 61 74 69 6f 6e 0d |nt, appl|ication.|
|00001c40| 0a 65 78 65 63 75 74 69 | 6f 6e 20 77 69 6c 6c 20 |.executi|on will |
|00001c50| 73 75 73 70 65 6e 64 20 | 61 6e 64 20 74 68 65 20 |suspend |and the |
|00001c60| 64 65 62 75 67 67 65 72 | 20 69 73 20 65 6e 74 65 |debugger| is ente|
|00001c70| 72 65 64 2e 20 20 49 66 | 20 6f 6e 65 20 6f 72 20 |red. If| one or |
|00001c80| 6d 6f 72 65 20 64 65 62 | 75 67 67 65 72 0d 0a 63 |more deb|ugger..c|
|00001c90| 6f 6d 6d 61 6e 64 73 20 | 77 65 72 65 20 73 70 65 |ommands |were spe|
|00001ca0| 63 69 66 69 65 64 20 77 | 68 65 6e 20 74 68 65 20 |cified w|hen the |
|00001cb0| 62 72 65 61 6b 20 70 6f | 69 6e 74 20 77 61 73 20 |break po|int was |
|00001cc0| 64 65 66 69 6e 65 64 2c | 20 74 68 65 20 64 65 62 |defined,| the deb|
|00001cd0| 75 67 67 65 72 0d 0a 63 | 6f 6d 6d 61 6e 64 73 20 |ugger..c|ommands |
|00001ce0| 61 72 65 20 65 78 65 63 | 75 74 65 64 20 66 69 72 |are exec|uted fir|
|00001cf0| 73 74 2e 20 20 54 68 65 | 20 63 6f 6d 6d 61 6e 64 |st. The| command|
|00001d00| 20 6c 69 73 74 20 74 68 | 61 74 20 66 6f 6c 6c 6f | list th|at follo|
|00001d10| 77 73 20 74 68 65 20 61 | 64 64 72 65 73 73 0d 0a |ws the a|ddress..|
|00001d20| 65 78 70 72 65 73 73 69 | 6f 6e 20 69 6e 20 74 68 |expressi|on in th|
|00001d30| 65 20 42 72 65 61 6b 2f | 53 65 74 20 63 6f 6d 6d |e Break/|Set comm|
|00001d40| 61 6e 64 20 69 73 20 64 | 65 66 69 6e 65 64 20 61 |and is d|efined a|
|00001d50| 73 20 66 6f 6c 6c 6f 77 | 73 3a 0d 0a 0d 0a 20 20 |s follow|s:.... |
|00001d60| 63 6d 64 5f 6c 69 73 74 | 20 3a 3a 3d 20 22 7b 22 |cmd_list| ::= "{"|
|00001d70| 20 5b 63 6d 64 5d 20 7b | 20 22 3b 22 20 5b 63 6d | [cmd] {| ";" [cm|
|00001d80| 64 5d 20 7d 20 22 7d 22 | 0d 0a 0d 0a 54 68 69 73 |d] } "}"|....This|
|00001d90| 20 69 73 20 73 69 6d 70 | 6c 79 20 61 20 56 49 44 | is simp|ly a VID|
|00001da0| 45 4f 20 63 6f 6d 6d 61 | 6e 64 20 6c 69 6e 65 20 |EO comma|nd line |
|00001db0| 70 6c 61 63 65 64 20 69 | 6e 73 69 64 65 20 6f 66 |placed i|nside of|
|00001dc0| 20 62 72 61 63 65 73 2e | 0d 0a 0d 0a 4e 6f 74 65 | braces.|....Note|
|00001dd0| 73 3a 0d 0a 0d 0a 20 20 | 31 2e 20 46 6f 72 20 61 |s:.... |1. For a|
|00001de0| 20 63 6f 6d 70 6c 65 74 | 65 20 64 65 73 63 72 69 | complet|e descri|
|00001df0| 70 74 69 6f 6e 20 6f 66 | 20 76 61 6c 69 64 20 61 |ption of| valid a|
|00001e00| 64 64 72 65 73 73 20 65 | 78 70 72 65 73 73 69 6f |ddress e|xpressio|
|00001e10| 6e 73 2c 20 73 65 65 20 | 74 68 65 0d 0a 20 20 20 |ns, see |the.. |
|00001e20| 20 63 68 61 70 74 65 72 | 20 65 6e 74 69 74 6c 65 | chapter| entitle|
|00001e30| 64 20 22 56 49 44 45 4f | 20 45 78 70 72 65 73 73 |d "VIDEO| Express|
|00001e40| 69 6f 6e 20 48 61 6e 64 | 6c 69 6e 67 22 2e 0d 0a |ion Hand|ling"...|
|00001e50| 0d 0a 20 20 32 2e 20 45 | 78 65 63 75 74 69 6f 6e |.. 2. E|xecution|
|00001e60| 20 6f 66 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 | of the |applicat|
|00001e70| 69 6f 6e 20 6d 61 79 20 | 62 65 20 72 65 73 75 6d |ion may |be resum|
|00001e80| 65 64 20 69 66 20 6f 6e | 65 20 6f 66 20 74 68 65 |ed if on|e of the|
|00001e90| 20 63 6f 6d 6d 61 6e 64 | 73 20 77 61 73 0d 0a 20 | command|s was.. |
|00001ea0| 20 20 20 61 20 47 6f 20 | 63 6f 6d 6d 61 6e 64 3b | a Go |command;|
|00001eb0| 20 6f 74 68 65 72 77 69 | 73 65 20 74 68 65 20 64 | otherwi|se the d|
|00001ec0| 65 62 75 67 67 65 72 20 | 70 72 6f 6d 70 74 73 20 |ebugger |prompts |
|00001ed0| 74 68 65 20 75 73 65 72 | 20 66 6f 72 20 61 20 6e |the user| for a n|
|00001ee0| 65 77 20 63 6f 6d 6d 61 | 6e 64 2e 0d 0a 0d 0a 20 |ew comma|nd..... |
|00001ef0| 20 20 20 45 78 61 6d 70 | 6c 65 3a 0d 0a 20 20 20 | Examp|le:.. |
|00001f00| 20 20 20 44 42 47 3e 64 | 6f 20 6c 6f 6f 6b 5f 63 | DBG>d|o look_c|
|00001f10| 6f 75 6e 74 20 3d 20 30 | 0d 0a 20 20 20 20 20 20 |ount = 0|.. |
|00001f20| 44 42 47 3e 62 72 65 61 | 6b 2f 73 65 74 20 6c 6f |DBG>brea|k/set lo|
|00001f30| 6f 6b 75 70 20 7b 20 64 | 6f 20 6c 6f 6f 6b 5f 63 |okup { d|o look_c|
|00001f40| 6f 75 6e 74 2b 2b 3b 20 | 67 6f 2f 6b 65 65 70 20 |ount++; |go/keep |
|00001f50| 7d 0d 0a 0d 0a 20 20 20 | 20 45 61 63 68 20 74 69 |}.... | Each ti|
|00001f60| 6d 65 20 74 68 65 20 22 | 6c 6f 6f 6b 75 70 22 20 |me the "|lookup" |
|00001f70| 72 6f 75 74 69 6e 65 20 | 69 73 20 65 6e 74 65 72 |routine |is enter|
|00001f80| 65 64 2c 20 74 68 65 20 | 64 65 62 75 67 67 65 72 |ed, the |debugger|
|00001f90| 20 77 69 6c 6c 20 69 6e | 63 72 65 6d 65 6e 74 0d | will in|crement.|
|00001fa0| 0a 20 20 20 20 74 68 65 | 20 75 73 65 72 2d 64 65 |. the| user-de|
|00001fb0| 66 69 6e 65 64 20 76 61 | 72 69 61 62 6c 65 20 6c |fined va|riable l|
|00001fc0| 6f 6f 6b 5f 63 6f 75 6e | 74 20 61 6e 64 20 72 65 |ook_coun|t and re|
|00001fd0| 73 75 6d 65 20 65 78 65 | 63 75 74 69 6f 6e 20 28 |sume exe|cution (|
|00001fe0| 6b 65 65 70 69 6e 67 20 | 61 6e 79 0d 0a 20 20 20 |keeping |any.. |
|00001ff0| 20 75 73 65 72 2d 64 65 | 66 69 6e 65 64 20 74 65 | user-de|fined te|
|00002000| 6d 70 6f 72 61 72 79 20 | 62 72 65 61 6b 20 70 6f |mporary |break po|
|00002010| 69 6e 74 29 2e 20 20 57 | 68 65 6e 20 65 78 65 63 |int). W|hen exec|
|00002020| 75 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 61 70 70 |ution of| the app|
|00002030| 6c 69 63 61 74 69 6f 6e | 0d 0a 20 20 20 20 74 65 |lication|.. te|
|00002040| 72 6d 69 6e 61 74 65 73 | 2c 20 74 68 65 20 63 75 |rminates|, the cu|
|00002050| 72 72 65 6e 74 20 76 61 | 6c 75 65 20 6f 66 20 6c |rrent va|lue of l|
|00002060| 6f 6f 6b 5f 63 6f 75 6e | 74 20 6d 61 79 20 62 65 |ook_coun|t may be|
|00002070| 20 65 78 61 6d 69 6e 65 | 64 20 77 69 74 68 20 74 | examine|d with t|
|00002080| 68 65 0d 0a 20 20 20 20 | 50 72 69 6e 74 20 63 6f |he.. |Print co|
|00002090| 6d 6d 61 6e 64 20 74 6f | 20 64 65 74 65 72 6d 69 |mmand to| determi|
|000020a0| 6e 65 20 68 6f 77 20 6d | 61 6e 79 20 74 69 6d 65 |ne how m|any time|
|000020b0| 73 20 74 68 65 20 22 6c | 6f 6f 6b 75 70 22 20 72 |s the "l|ookup" r|
|000020c0| 6f 75 74 69 6e 65 20 77 | 61 73 0d 0a 20 20 20 20 |outine w|as.. |
|000020d0| 65 78 65 63 75 74 65 64 | 2e 0d 0a 0d 0a 20 20 33 |executed|..... 3|
|000020e0| 2e 20 49 66 20 6e 6f 20 | 61 72 67 75 6d 65 6e 74 |. If no |argument|
|000020f0| 73 20 61 72 65 20 73 70 | 65 63 69 66 69 65 64 20 |s are sp|ecified |
|00002100| 74 6f 20 74 68 65 20 42 | 72 65 61 6b 20 63 6f 6d |to the B|reak com|
|00002110| 6d 61 6e 64 2c 20 74 68 | 65 20 63 75 72 72 65 6e |mand, th|e curren|
|00002120| 74 6c 79 0d 0a 20 20 20 | 20 64 65 66 69 6e 65 64 |tly.. | defined|
|00002130| 20 62 72 65 61 6b 20 70 | 6f 69 6e 74 73 20 77 69 | break p|oints wi|
|00002140| 6c 6c 20 62 65 20 64 69 | 73 70 6c 61 79 65 64 2e |ll be di|splayed.|
|00002150| 20 20 54 68 65 20 66 69 | 72 73 74 20 6f 6e 65 20 | The fi|rst one |
|00002160| 73 68 6f 77 6e 20 69 73 | 20 62 72 65 61 6b 0d 0a |shown is| break..|
|00002170| 20 20 20 20 70 6f 69 6e | 74 20 6e 75 6d 62 65 72 | poin|t number|
|00002180| 20 31 2c 20 74 68 65 20 | 73 65 63 6f 6e 64 20 6f | 1, the |second o|
|00002190| 6e 65 20 73 68 6f 77 6e | 20 69 73 20 62 72 65 61 |ne shown| is brea|
|000021a0| 6b 20 70 6f 69 6e 74 20 | 6e 75 6d 62 65 72 20 32 |k point |number 2|
|000021b0| 2c 20 61 6e 64 20 73 6f | 20 6f 6e 2e 0d 0a 20 20 |, and so| on... |
|000021c0| 20 20 54 68 65 73 65 20 | 61 72 65 20 63 61 6c 6c | These |are call|
|000021d0| 65 64 20 74 68 65 20 62 | 72 65 61 6b 20 70 6f 69 |ed the b|reak poi|
|000021e0| 6e 74 20 69 6e 64 69 63 | 65 73 2e 20 20 41 63 74 |nt indic|es. Act|
|000021f0| 69 76 65 20 62 72 65 61 | 6b 20 70 6f 69 6e 74 73 |ive brea|k points|
|00002200| 20 61 72 65 20 73 68 6f | 77 6e 0d 0a 20 20 20 20 | are sho|wn.. |
|00002210| 69 6e 20 22 61 63 74 69 | 76 65 22 20 61 74 74 72 |in "acti|ve" attr|
|00002220| 69 62 75 74 65 73 2c 20 | 69 6e 61 63 74 69 76 65 |ibutes, |inactive|
|00002230| 20 6f 6e 65 73 20 61 72 | 65 20 73 68 6f 77 6e 20 | ones ar|e shown |
|00002240| 69 6e 20 22 70 6c 61 69 | 6e 22 20 61 74 74 72 69 |in "plai|n" attri|
|00002250| 62 75 74 65 73 2e 0d 0a | 20 20 20 20 53 65 65 20 |butes...| See |
|00002260| 74 68 65 20 64 65 73 63 | 72 69 70 74 69 6f 6e 20 |the desc|ription |
|00002270| 6f 66 20 74 68 65 20 50 | 61 69 6e 74 20 63 6f 6d |of the P|aint com|
|00002280| 6d 61 6e 64 20 66 6f 72 | 20 61 20 64 69 73 63 75 |mand for| a discu|
|00002290| 73 73 69 6f 6e 20 6f 66 | 20 61 74 74 72 69 62 75 |ssion of| attribu|
|000022a0| 74 65 73 2e 0d 0a 0d 0a | 20 20 34 2e 20 57 68 65 |tes.....| 4. Whe|
|000022b0| 6e 20 61 63 74 69 76 61 | 74 69 6e 67 2c 20 64 65 |n activa|ting, de|
|000022c0| 61 63 74 69 76 61 74 69 | 6e 67 20 6f 72 20 63 6c |activati|ng or cl|
|000022d0| 65 61 72 69 6e 67 20 61 | 20 62 72 65 61 6b 20 70 |earing a| break p|
|000022e0| 6f 69 6e 74 2c 20 65 69 | 74 68 65 72 20 74 68 65 |oint, ei|ther the|
|000022f0| 0d 0a 20 20 20 20 62 72 | 65 61 6b 20 70 6f 69 6e |.. br|eak poin|
|00002300| 74 20 69 6e 64 65 78 20 | 6f 72 20 74 68 65 20 61 |t index |or the a|
|00002310| 64 64 72 65 73 73 20 6d | 75 73 74 20 62 65 20 73 |ddress m|ust be s|
|00002320| 70 65 63 69 66 69 65 64 | 2e 20 20 49 66 20 22 2a |pecified|. If "*|
|00002330| 22 20 69 73 20 73 70 65 | 63 69 66 69 65 64 0d 0a |" is spe|cified..|
|00002340| 20 20 20 20 61 73 20 74 | 68 65 20 62 72 65 61 6b | as t|he break|
|00002350| 20 70 6f 69 6e 74 20 69 | 6e 64 65 78 20 74 68 65 | point i|ndex the|
|00002360| 6e 20 61 6c 6c 20 62 72 | 65 61 6b 20 70 6f 69 6e |n all br|eak poin|
|00002370| 74 73 20 61 72 65 20 61 | 66 66 65 63 74 65 64 2e |ts are a|ffected.|
|00002380| 0d 0a 0d 0a 20 20 20 20 | 45 78 61 6d 70 6c 65 3a |.... |Example:|
|00002390| 0d 0a 20 20 20 20 20 20 | 44 42 47 3e 62 72 65 61 |.. |DBG>brea|
|000023a0| 6b 2f 73 65 74 20 6d 61 | 69 6e 5f 3b 20 62 72 65 |k/set ma|in_; bre|
|000023b0| 61 6b 2f 64 65 61 63 74 | 69 76 61 74 65 20 31 0d |ak/deact|ivate 1.|
|000023c0| 0a 20 20 20 20 20 20 44 | 42 47 3e 62 72 65 61 6b |. D|BG>break|
|000023d0| 2f 73 65 74 20 6d 61 69 | 6e 5f 3b 20 62 72 65 61 |/set mai|n_; brea|
|000023e0| 6b 2f 64 65 61 63 74 69 | 76 61 74 65 20 2f 6d 61 |k/deacti|vate /ma|
|000023f0| 69 6e 5f 0d 0a 0d 0a 20 | 20 20 20 49 6e 20 62 6f |in_.... | In bo|
|00002400| 74 68 20 65 78 61 6d 70 | 6c 65 73 2c 20 61 20 62 |th examp|les, a b|
|00002410| 72 65 61 6b 20 70 6f 69 | 6e 74 20 69 73 20 73 65 |reak poi|nt is se|
|00002420| 74 20 61 6e 64 20 74 68 | 65 6e 20 61 20 62 72 65 |t and th|en a bre|
|00002430| 61 6b 20 70 6f 69 6e 74 | 20 69 73 0d 0a 20 20 20 |ak point| is.. |
|00002440| 20 64 65 61 63 74 69 76 | 61 74 65 64 2e 20 20 49 | deactiv|ated. I|
|00002450| 6e 20 74 68 65 20 66 69 | 72 73 74 20 65 78 61 6d |n the fi|rst exam|
|00002460| 70 6c 65 2c 20 74 68 65 | 20 62 72 65 61 6b 20 70 |ple, the| break p|
|00002470| 6f 69 6e 74 20 73 65 74 | 20 66 6f 72 20 22 6d 61 |oint set| for "ma|
|00002480| 69 6e 5f 22 20 69 73 0d | 0a 20 20 20 20 64 65 61 |in_" is.|. dea|
|00002490| 63 74 69 76 61 74 65 64 | 20 6f 6e 6c 79 20 69 66 |ctivated| only if|
|000024a0| 20 6e 6f 20 6f 74 68 65 | 72 20 62 72 65 61 6b 20 | no othe|r break |
|000024b0| 70 6f 69 6e 74 73 20 68 | 61 76 65 20 62 65 65 6e |points h|ave been|
|000024c0| 20 73 65 74 20 28 73 69 | 6e 63 65 20 69 74 20 77 | set (si|nce it w|
|000024d0| 69 6c 6c 0d 0a 20 20 20 | 20 74 68 65 6e 20 62 65 |ill.. | then be|
|000024e0| 20 62 72 65 61 6b 20 70 | 6f 69 6e 74 20 6e 75 6d | break p|oint num|
|000024f0| 62 65 72 20 31 29 2e 20 | 20 54 68 65 20 73 65 63 |ber 1). | The sec|
|00002500| 6f 6e 64 20 65 78 61 6d | 70 6c 65 20 69 6c 6c 75 |ond exam|ple illu|
|00002510| 73 74 72 61 74 65 73 20 | 68 6f 77 20 74 68 65 0d |strates |how the.|
|00002520| 0a 20 20 20 20 62 72 65 | 61 6b 20 70 6f 69 6e 74 |. bre|ak point|
|00002530| 20 66 6f 72 20 6d 61 69 | 6e 5f 20 77 69 6c 6c 20 | for mai|n_ will |
|00002540| 62 65 20 64 65 61 63 74 | 69 76 61 74 65 64 20 75 |be deact|ivated u|
|00002550| 6e 64 65 72 20 61 6e 79 | 20 63 69 72 63 75 6d 73 |nder any| circums|
|00002560| 74 61 6e 63 65 73 2e 0d | 0a 0d 0a 20 20 20 20 45 |tances..|... E|
|00002570| 78 61 6d 70 6c 65 3a 0d | 0a 20 20 20 20 20 20 44 |xample:.|. D|
|00002580| 42 47 3e 62 72 65 61 6b | 2f 61 63 74 69 76 61 74 |BG>break|/activat|
|00002590| 65 20 32 3b 20 62 72 65 | 61 6b 2f 64 65 61 63 74 |e 2; bre|ak/deact|
|000025a0| 69 76 61 74 65 20 31 0d | 0a 0d 0a 20 20 20 20 42 |ivate 1.|... B|
|000025b0| 72 65 61 6b 70 6f 69 6e | 74 20 6e 75 6d 62 65 72 |reakpoin|t number|
|000025c0| 20 32 20 69 73 20 61 63 | 74 69 76 61 74 65 64 20 | 2 is ac|tivated |
|000025d0| 61 6e 64 20 31 20 69 73 | 20 64 65 61 63 74 69 76 |and 1 is| deactiv|
|000025e0| 61 74 65 64 2e 0d 0a 0d | 0a 20 20 35 2e 20 54 68 |ated....|. 5. Th|
|000025f0| 65 20 73 70 65 63 69 66 | 69 65 64 20 61 64 64 72 |e specif|ied addr|
|00002600| 65 73 73 20 6e 65 65 64 | 20 6e 6f 74 20 62 65 20 |ess need| not be |
|00002610| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 61 20 73 79 |the name| of a sy|
|00002620| 6d 62 6f 6c 20 6f 72 20 | 6d 6f 64 75 6c 65 20 6e |mbol or |module n|
|00002630| 61 6d 65 0d 0a 20 20 20 | 20 61 6e 64 20 6c 69 6e |ame.. | and lin|
|00002640| 65 20 6e 75 6d 62 65 72 | 2e 0d 0a 0d 0a 20 20 20 |e number|..... |
|00002650| 20 45 78 61 6d 70 6c 65 | 3a 0d 0a 20 20 20 20 20 | Example|:.. |
|00002660| 20 44 42 47 3e 62 72 65 | 61 6b 20 65 73 3a 64 69 | DBG>bre|ak es:di|
|00002670| 0d 0a 0d 0a 20 20 20 20 | 41 20 62 72 65 61 6b 20 |.... |A break |
|00002680| 70 6f 69 6e 74 20 69 73 | 20 73 65 74 20 66 6f 72 |point is| set for|
|00002690| 20 74 68 65 20 6c 6f 63 | 61 74 69 6f 6e 20 73 70 | the loc|ation sp|
|000026a0| 65 63 69 66 69 65 64 20 | 62 79 20 74 68 65 20 63 |ecified |by the c|
|000026b0| 6f 6e 74 65 6e 74 73 20 | 6f 66 20 74 68 65 0d 0a |ontents |of the..|
|000026c0| 20 20 20 20 45 53 3a 44 | 49 20 72 65 67 69 73 74 | ES:D|I regist|
|000026d0| 65 72 20 70 61 69 72 2e | 0d 0a 0d 0a 20 20 20 20 |er pair.|.... |
|000026e0| 45 78 61 6d 70 6c 65 3a | 0d 0a 20 20 20 20 20 20 |Example:|.. |
|000026f0| 44 42 47 3e 62 72 65 61 | 6b 2f 64 65 61 63 74 69 |DBG>brea|k/deacti|
|00002700| 76 61 74 65 20 2f 62 78 | 0d 0a 0d 0a 20 20 20 20 |vate /bx|.... |
|00002710| 54 68 65 20 62 72 65 61 | 6b 20 70 6f 69 6e 74 20 |The brea|k point |
|00002720| 77 68 6f 73 65 20 61 64 | 64 72 65 73 73 20 69 73 |whose ad|dress is|
|00002730| 20 73 70 65 63 69 66 69 | 65 64 20 62 79 20 74 68 | specifi|ed by th|
|00002740| 65 20 63 6f 6e 74 65 6e | 74 73 20 6f 66 20 74 68 |e conten|ts of th|
|00002750| 65 20 43 53 3a 42 58 0d | 0a 20 20 20 20 72 65 67 |e CS:BX.|. reg|
|00002760| 69 73 74 65 72 20 70 61 | 69 72 20 69 73 20 64 65 |ister pa|ir is de|
|00002770| 61 63 74 69 76 61 74 65 | 64 2e 0d 0a 0d 0a 20 20 |activate|d..... |
|00002780| 36 2e 20 54 68 65 20 73 | 70 65 63 69 66 69 65 64 |6. The s|pecified|
|00002790| 20 61 64 64 72 65 73 73 | 20 63 61 6e 20 62 65 20 | address| can be |
|000027a0| 22 2e 22 20 77 68 69 63 | 68 20 63 6f 72 72 65 73 |"." whic|h corres|
|000027b0| 70 6f 6e 64 73 20 74 6f | 20 74 68 65 20 6c 69 6e |ponds to| the lin|
|000027c0| 65 20 6f 66 0d 0a 20 20 | 20 20 73 6f 75 72 63 65 |e of.. | source|
|000027d0| 20 63 6f 64 65 20 6f 72 | 20 61 73 73 65 6d 62 6c | code or| assembl|
|000027e0| 79 20 63 6f 64 65 20 6d | 6f 73 74 20 72 65 63 65 |y code m|ost rece|
|000027f0| 6e 74 6c 79 20 65 78 61 | 6d 69 6e 65 64 2e 0d 0a |ntly exa|mined...|
|00002800| 0d 0a 20 20 37 2e 20 41 | 6c 6c 20 62 72 65 61 6b |.. 7. A|ll break|
|00002810| 20 70 6f 69 6e 74 73 20 | 6d 61 79 20 62 65 20 72 | points |may be r|
|00002820| 65 6d 6f 76 65 64 20 69 | 6e 20 61 20 73 69 6e 67 |emoved i|n a sing|
|00002830| 6c 65 20 63 6f 6d 6d 61 | 6e 64 2e 0d 0a 0d 0a 20 |le comma|nd..... |
|00002840| 20 20 20 45 78 61 6d 70 | 6c 65 3a 0d 0a 20 20 20 | Examp|le:.. |
|00002850| 20 20 20 44 42 47 3e 62 | 72 65 61 6b 2f 63 6c 65 | DBG>b|reak/cle|
|00002860| 61 72 20 2a 0d 0a 0d 0a | 20 20 20 20 54 68 65 20 |ar *....| The |
|00002870| 61 73 74 65 72 69 73 6b | 20 72 65 66 65 72 73 20 |asterisk| refers |
|00002880| 74 6f 20 61 6c 6c 20 62 | 72 65 61 6b 20 70 6f 69 |to all b|reak poi|
|00002890| 6e 74 73 2e 0d 0a 3a 3a | 3a 3a 43 41 4c 4c 0d 0a |nts...::|::CALL..|
|000028a0| da c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|000028b0| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|000028c0| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|000028d0| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|000028e0| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 bf 0d 0a b3 20 |........|....... |
|000028f0| 43 61 6c 6c 20 5b 2f 46 | 61 72 20 7c 20 2f 49 6e |Call [/F|ar | /In|
|00002900| 74 65 72 72 75 70 74 20 | 7c 20 2f 4e 65 61 72 5d |terrupt || /Near]|
|00002910| 09 09 09 09 09 20 20 20 | b3 0d 0a b3 09 20 20 73 |..... |..... s|
|00002920| 74 61 72 74 5f 61 64 64 | 72 5f 65 78 70 72 20 5b |tart_add|r_expr [|
|00002930| 20 22 28 22 20 5b 61 72 | 67 5f 6c 69 73 74 5d 20 | "(" [ar|g_list] |
|00002940| 22 29 22 20 5b 20 22 2f | 22 20 7c 20 70 72 69 6e |")" [ "/|" | prin|
|00002950| 74 5f 6c 69 73 74 20 5d | 20 5d 09 20 20 20 b3 0d |t_list ]| ]. ..|
|00002960| 0a c0 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00002970| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00002980| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00002990| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|000029a0| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 d9 0d 0a 0d |........|........|
|000029b0| 0a 54 68 65 20 43 61 6c | 6c 20 63 6f 6d 6d 61 6e |.The Cal|l comman|
|000029c0| 64 20 6d 61 79 20 62 65 | 20 75 73 65 64 20 74 6f |d may be| used to|
|000029d0| 20 63 61 6c 6c 20 61 6e | 79 20 72 6f 75 74 69 6e | call an|y routin|
|000029e0| 65 20 70 72 65 73 65 6e | 74 20 69 6e 20 74 68 65 |e presen|t in the|
|000029f0| 20 73 79 73 74 65 6d 2e | 20 20 54 68 65 0d 0a 75 | system.| The..u|
|00002a00| 73 65 72 20 73 70 65 63 | 69 66 69 65 73 20 61 20 |ser spec|ifies a |
|00002a10| 73 74 61 72 74 69 6e 67 | 20 61 64 64 72 65 73 73 |starting| address|
|00002a20| 20 65 78 70 72 65 73 73 | 69 6f 6e 20 66 6f 72 20 | express|ion for |
|00002a30| 74 68 65 20 72 6f 75 74 | 69 6e 65 20 74 68 61 74 |the rout|ine that|
|00002a40| 20 69 73 20 74 6f 20 62 | 65 0d 0a 63 61 6c 6c 65 | is to b|e..calle|
|00002a50| 64 2e 20 20 54 68 65 20 | 65 78 70 72 65 73 73 69 |d. The |expressi|
|00002a60| 6f 6e 20 6d 75 73 74 20 | 65 76 61 6c 75 61 74 65 |on must |evaluate|
|00002a70| 20 74 6f 20 74 68 65 20 | 73 65 67 6d 65 6e 74 20 | to the |segment |
|00002a80| 61 6e 64 20 6f 66 66 73 | 65 74 20 6f 66 20 74 68 |and offs|et of th|
|00002a90| 65 0d 0a 72 6f 75 74 69 | 6e 65 20 74 6f 20 62 65 |e..routi|ne to be|
|00002aa0| 20 63 61 6c 6c 65 64 2e | 20 20 54 68 65 20 72 6f | called.| The ro|
|00002ab0| 75 74 69 6e 65 20 6d 61 | 79 20 62 65 20 6f 6e 65 |utine ma|y be one|
|00002ac0| 20 6f 66 20 74 68 72 65 | 65 20 74 79 70 65 73 3a | of thre|e types:|
|00002ad0| 0d 0a 0d 0a 20 20 2f 46 | 61 72 20 73 74 61 72 74 |.... /F|ar start|
|00002ae0| 5f 61 64 64 72 5f 65 78 | 70 72 20 5b 22 28 22 20 |_addr_ex|pr ["(" |
|00002af0| 5b 61 72 67 5f 6c 69 73 | 74 5d 20 22 29 22 20 5b |[arg_lis|t] ")" [|
|00002b00| 20 22 2f 22 20 7c 20 70 | 72 69 6e 74 5f 6c 69 73 | "/" | p|rint_lis|
|00002b10| 74 20 5d 5d 0d 0a 0d 0a | 09 20 20 20 41 20 22 66 |t ]]....|. A "f|
|00002b20| 61 72 22 20 72 6f 75 74 | 69 6e 65 20 69 73 20 6f |ar" rout|ine is o|
|00002b30| 6e 65 20 74 68 61 74 20 | 65 76 65 6e 74 75 61 6c |ne that |eventual|
|00002b40| 6c 79 20 72 65 74 75 72 | 6e 73 20 74 6f 20 69 74 |ly retur|ns to it|
|00002b50| 73 20 63 61 6c 6c 65 72 | 20 62 79 0d 0a 09 20 20 |s caller| by... |
|00002b60| 20 75 73 69 6e 67 20 61 | 20 22 66 61 72 20 72 65 | using a| "far re|
|00002b70| 74 75 72 6e 22 20 69 6e | 73 74 72 75 63 74 69 6f |turn" in|structio|
|00002b80| 6e 20 28 52 45 54 46 29 | 2e 20 20 49 6e 20 31 36 |n (RETF)|. In 16|
|00002b90| 2d 62 69 74 20 6d 6f 64 | 65 2c 20 61 0d 0a 09 20 |-bit mod|e, a... |
|00002ba0| 20 20 33 32 2d 62 69 74 | 20 72 65 74 75 72 6e 20 | 32-bit| return |
|00002bb0| 61 64 64 72 65 73 73 20 | 28 73 65 67 6d 65 6e 74 |address |(segment|
|00002bc0| 20 61 6e 64 20 6f 66 66 | 73 65 74 29 20 69 73 20 | and off|set) is |
|00002bd0| 70 6c 61 63 65 64 20 6f | 6e 20 74 68 65 20 73 74 |placed o|n the st|
|00002be0| 61 63 6b 0d 0a 09 20 20 | 20 62 79 20 74 68 65 20 |ack... | by the |
|00002bf0| 64 65 62 75 67 67 65 72 | 20 73 6f 20 74 68 61 74 |debugger| so that|
|00002c00| 20 74 68 65 20 72 6f 75 | 74 69 6e 65 20 77 69 6c | the rou|tine wil|
|00002c10| 6c 20 72 65 74 75 72 6e | 20 74 6f 20 74 68 65 20 |l return| to the |
|00002c20| 64 65 62 75 67 67 65 72 | 2e 0d 0a 09 20 20 20 49 |debugger|.... I|
|00002c30| 6e 20 33 32 2d 62 69 74 | 20 6d 6f 64 65 2c 20 61 |n 32-bit| mode, a|
|00002c40| 20 36 34 2d 62 69 74 20 | 72 65 74 75 72 6e 20 61 | 64-bit |return a|
|00002c50| 64 64 72 65 73 73 20 28 | 73 65 67 6d 65 6e 74 20 |ddress (|segment |
|00002c60| 61 6e 64 20 6f 66 66 73 | 65 74 29 20 69 73 0d 0a |and offs|et) is..|
|00002c70| 09 20 20 20 70 6c 61 63 | 65 64 20 6f 6e 20 74 68 |. plac|ed on th|
|00002c80| 65 20 73 74 61 63 6b 20 | 62 79 20 74 68 65 20 64 |e stack |by the d|
|00002c90| 65 62 75 67 67 65 72 20 | 73 6f 20 74 68 61 74 20 |ebugger |so that |
|00002ca0| 74 68 65 20 72 6f 75 74 | 69 6e 65 20 77 69 6c 6c |the rout|ine will|
|00002cb0| 0d 0a 09 20 20 20 72 65 | 74 75 72 6e 20 74 6f 20 |... re|turn to |
|00002cc0| 74 68 65 20 64 65 62 75 | 67 67 65 72 2e 20 20 54 |the debu|gger. T|
|00002cd0| 68 65 20 22 66 61 72 22 | 20 63 61 6c 6c 20 61 6e |he "far"| call an|
|00002ce0| 64 20 72 65 74 75 72 6e | 20 6d 65 63 68 61 6e 69 |d return| mechani|
|00002cf0| 73 6d 20 69 73 0d 0a 09 | 20 20 20 75 73 65 64 20 |sm is...| used |
|00002d00| 69 6e 20 74 68 65 20 62 | 69 67 20 63 6f 64 65 20 |in the b|ig code |
|00002d10| 6d 6f 64 65 6c 73 20 28 | 6d 65 64 69 75 6d 2c 20 |models (|medium, |
|00002d20| 6c 61 72 67 65 2c 20 61 | 6e 64 20 68 75 67 65 29 |large, a|nd huge)|
|00002d30| 2e 0d 0a 0d 0a 20 20 2f | 49 6e 74 65 72 72 75 70 |..... /|Interrup|
|00002d40| 74 20 73 74 61 72 74 5f | 61 64 64 72 5f 65 78 70 |t start_|addr_exp|
|00002d50| 72 20 5b 22 28 22 20 5b | 61 72 67 5f 6c 69 73 74 |r ["(" [|arg_list|
|00002d60| 5d 20 22 29 22 20 5b 20 | 22 2f 22 20 7c 20 70 72 |] ")" [ |"/" | pr|
|00002d70| 69 6e 74 5f 6c 69 73 74 | 20 5d 5d 0d 0a 0d 0a 09 |int_list| ]].....|
|00002d80| 20 20 20 41 6e 20 22 69 | 6e 74 65 72 72 75 70 74 | An "i|nterrupt|
|00002d90| 22 20 72 6f 75 74 69 6e | 65 20 69 73 20 6f 6e 65 |" routin|e is one|
|00002da0| 20 74 68 61 74 20 65 76 | 65 6e 74 75 61 6c 6c 79 | that ev|entually|
|00002db0| 20 72 65 74 75 72 6e 73 | 20 74 6f 20 69 74 73 0d | returns| to its.|
|00002dc0| 0a 09 20 20 20 63 61 6c | 6c 65 72 20 62 79 20 75 |.. cal|ler by u|
|00002dd0| 73 69 6e 67 20 61 6e 20 | 69 6e 74 65 72 72 75 70 |sing an |interrup|
|00002de0| 74 20 72 65 74 75 72 6e | 20 69 6e 73 74 72 75 63 |t return| instruc|
|00002df0| 74 69 6f 6e 20 28 49 52 | 45 54 2c 20 49 52 45 54 |tion (IR|ET, IRET|
|00002e00| 44 29 2e 0d 0a 09 20 20 | 20 49 6e 20 31 36 2d 62 |D).... | In 16-b|
|00002e10| 69 74 20 6d 6f 64 65 2c | 20 61 20 33 32 2d 62 69 |it mode,| a 32-bi|
|00002e20| 74 20 72 65 74 75 72 6e | 20 61 64 64 72 65 73 73 |t return| address|
|00002e30| 20 28 73 65 67 6d 65 6e | 74 20 61 6e 64 20 6f 66 | (segmen|t and of|
|00002e40| 66 73 65 74 29 20 61 6e | 64 0d 0a 09 20 20 20 74 |fset) an|d... t|
|00002e50| 68 65 20 63 75 72 72 65 | 6e 74 20 63 6f 6e 74 65 |he curre|nt conte|
|00002e60| 6e 74 73 20 6f 66 20 74 | 68 65 20 66 6c 61 67 73 |nts of t|he flags|
|00002e70| 20 72 65 67 69 73 74 65 | 72 20 61 72 65 20 70 6c | registe|r are pl|
|00002e80| 61 63 65 64 20 6f 6e 20 | 74 68 65 0d 0a 09 20 20 |aced on |the... |
|00002e90| 20 73 74 61 63 6b 20 62 | 79 20 74 68 65 20 64 65 | stack b|y the de|
|00002ea0| 62 75 67 67 65 72 20 73 | 6f 20 74 68 61 74 20 74 |bugger s|o that t|
|00002eb0| 68 65 20 69 6e 74 65 72 | 72 75 70 74 20 72 6f 75 |he inter|rupt rou|
|00002ec0| 74 69 6e 65 20 77 69 6c | 6c 20 72 65 74 75 72 6e |tine wil|l return|
|00002ed0| 0d 0a 09 20 20 20 74 6f | 20 74 68 65 20 64 65 62 |... to| the deb|
|00002ee0| 75 67 67 65 72 2e 20 20 | 49 6e 20 33 32 2d 62 69 |ugger. |In 32-bi|
|00002ef0| 74 20 6d 6f 64 65 2c 20 | 61 20 36 34 2d 62 69 74 |t mode, |a 64-bit|
|00002f00| 20 72 65 74 75 72 6e 20 | 61 64 64 72 65 73 73 0d | return |address.|
|00002f10| 0a 09 20 20 20 28 73 65 | 67 6d 65 6e 74 20 61 6e |.. (se|gment an|
|00002f20| 64 20 6f 66 66 73 65 74 | 29 20 61 6e 64 20 74 68 |d offset|) and th|
|00002f30| 65 20 63 75 72 72 65 6e | 74 20 63 6f 6e 74 65 6e |e curren|t conten|
|00002f40| 74 73 20 6f 66 20 74 68 | 65 20 66 6c 61 67 73 0d |ts of th|e flags.|
|00002f50| 0a 09 20 20 20 72 65 67 | 69 73 74 65 72 20 61 72 |.. reg|ister ar|
|00002f60| 65 20 70 6c 61 63 65 64 | 20 6f 6e 20 74 68 65 20 |e placed| on the |
|00002f70| 73 74 61 63 6b 20 62 79 | 20 74 68 65 20 64 65 62 |stack by| the deb|
|00002f80| 75 67 67 65 72 20 73 6f | 20 74 68 61 74 20 74 68 |ugger so| that th|
|00002f90| 65 0d 0a 09 20 20 20 69 | 6e 74 65 72 72 75 70 74 |e... i|nterrupt|
|00002fa0| 20 72 6f 75 74 69 6e 65 | 20 77 69 6c 6c 20 72 65 | routine| will re|
|00002fb0| 74 75 72 6e 20 74 6f 20 | 74 68 65 20 64 65 62 75 |turn to |the debu|
|00002fc0| 67 67 65 72 2e 20 20 4e | 6f 74 65 20 74 68 61 74 |gger. N|ote that|
|00002fd0| 20 61 6e 0d 0a 09 20 20 | 20 69 6e 74 65 72 72 75 | an... | interru|
|00002fe0| 70 74 20 72 6f 75 74 69 | 6e 65 20 69 73 20 63 61 |pt routi|ne is ca|
|00002ff0| 6c 6c 65 64 20 62 79 20 | 69 74 73 20 61 64 64 72 |lled by |its addr|
|00003000| 65 73 73 2c 20 6e 6f 74 | 20 61 6e 20 69 6e 74 65 |ess, not| an inte|
|00003010| 72 72 75 70 74 0d 0a 09 | 20 20 20 6e 75 6d 62 65 |rrupt...| numbe|
|00003020| 72 2e 0d 0a 0d 0a 20 20 | 2f 4e 65 61 72 20 73 74 |r..... |/Near st|
|00003030| 61 72 74 5f 61 64 64 72 | 5f 65 78 70 72 20 5b 22 |art_addr|_expr ["|
|00003040| 28 22 20 5b 61 72 67 5f | 6c 69 73 74 5d 20 22 29 |(" [arg_|list] ")|
|00003050| 22 20 5b 20 22 2f 22 20 | 7c 20 70 72 69 6e 74 5f |" [ "/" || print_|
|00003060| 6c 69 73 74 20 5d 5d 0d | 0a 0d 0a 09 20 20 20 41 |list ]].|.... A|
|00003070| 20 22 6e 65 61 72 22 20 | 72 6f 75 74 69 6e 65 20 | "near" |routine |
|00003080| 69 73 20 6f 6e 65 20 74 | 68 61 74 20 65 76 65 6e |is one t|hat even|
|00003090| 74 75 61 6c 6c 79 20 72 | 65 74 75 72 6e 73 20 74 |tually r|eturns t|
|000030a0| 6f 20 69 74 73 20 63 61 | 6c 6c 65 72 20 62 79 0d |o its ca|ller by.|
|000030b0| 0a 09 20 20 20 75 73 69 | 6e 67 20 61 20 22 6e 65 |.. usi|ng a "ne|
|000030c0| 61 72 20 72 65 74 75 72 | 6e 22 20 69 6e 73 74 72 |ar retur|n" instr|
|000030d0| 75 63 74 69 6f 6e 20 28 | 52 45 54 29 2e 20 20 49 |uction (|RET). I|
|000030e0| 6e 20 31 36 2d 62 69 74 | 20 6d 6f 64 65 2c 20 61 |n 16-bit| mode, a|
|000030f0| 0d 0a 09 20 20 20 31 36 | 2d 62 69 74 20 72 65 74 |... 16|-bit ret|
|00003100| 75 72 6e 20 61 64 64 72 | 65 73 73 20 28 6f 66 66 |urn addr|ess (off|
|00003110| 73 65 74 29 20 69 73 20 | 70 6c 61 63 65 64 20 6f |set) is |placed o|
|00003120| 6e 20 74 68 65 20 73 74 | 61 63 6b 20 62 79 20 74 |n the st|ack by t|
|00003130| 68 65 0d 0a 09 20 20 20 | 64 65 62 75 67 67 65 72 |he... |debugger|
|00003140| 20 73 6f 20 74 68 61 74 | 20 74 68 65 20 72 6f 75 | so that| the rou|
|00003150| 74 69 6e 65 20 77 69 6c | 6c 20 72 65 74 75 72 6e |tine wil|l return|
|00003160| 20 74 6f 20 74 68 65 20 | 64 65 62 75 67 67 65 72 | to the |debugger|
|00003170| 2e 20 20 49 6e 0d 0a 09 | 20 20 20 33 32 2d 62 69 |. In...| 32-bi|
|00003180| 74 20 6d 6f 64 65 2c 20 | 61 20 33 32 2d 62 69 74 |t mode, |a 32-bit|
|00003190| 20 72 65 74 75 72 6e 20 | 61 64 64 72 65 73 73 20 | return |address |
|000031a0| 28 6f 66 66 73 65 74 29 | 20 69 73 20 70 6c 61 63 |(offset)| is plac|
|000031b0| 65 64 20 6f 6e 20 74 68 | 65 0d 0a 09 20 20 20 73 |ed on th|e... s|
|000031c0| 74 61 63 6b 20 62 79 20 | 74 68 65 20 64 65 62 75 |tack by |the debu|
|000031d0| 67 67 65 72 20 73 6f 20 | 74 68 61 74 20 74 68 65 |gger so |that the|
|000031e0| 20 72 6f 75 74 69 6e 65 | 20 77 69 6c 6c 20 72 65 | routine| will re|
|000031f0| 74 75 72 6e 20 74 6f 20 | 74 68 65 0d 0a 09 20 20 |turn to |the... |
|00003200| 20 64 65 62 75 67 67 65 | 72 2e 20 20 54 68 65 20 | debugge|r. The |
|00003210| 22 6e 65 61 72 22 20 63 | 61 6c 6c 20 61 6e 64 20 |"near" c|all and |
|00003220| 72 65 74 75 72 6e 20 6d | 65 63 68 61 6e 69 73 6d |return m|echanism|
|00003230| 20 69 73 20 75 73 65 64 | 20 69 6e 20 74 68 65 0d | is used| in the.|
|00003240| 0a 09 20 20 20 73 6d 61 | 6c 6c 20 63 6f 64 65 20 |.. sma|ll code |
|00003250| 6d 6f 64 65 6c 73 20 28 | 73 6d 61 6c 6c 2c 20 63 |models (|small, c|
|00003260| 6f 6d 70 61 63 74 2c 20 | 66 6c 61 74 29 2e 0d 0a |ompact, |flat)...|
|00003270| 0d 0a 0d 0a 0d 0a 43 61 | 6c 6c 20 41 72 67 75 6d |......Ca|ll Argum|
|00003280| 65 6e 74 20 4c 69 73 74 | 0d 0a cd cd cd cd cd cd |ent List|........|
|00003290| cd cd cd cd cd cd cd cd | cd cd cd cd 0d 0a 41 6e |........|......An|
|000032a0| 20 61 72 67 75 6d 65 6e | 74 20 6c 69 73 74 20 6d | argumen|t list m|
|000032b0| 61 79 20 62 65 20 73 70 | 65 63 69 66 69 65 64 20 |ay be sp|ecified |
|000032c0| 66 6f 72 20 74 68 65 20 | 72 6f 75 74 69 6e 65 20 |for the |routine |
|000032d0| 74 6f 20 62 65 20 69 6e | 76 6f 6b 65 64 2e 20 20 |to be in|voked. |
|000032e0| 49 66 20 6f 6e 65 20 69 | 73 0d 0a 73 70 65 63 69 |If one i|s..speci|
|000032f0| 66 69 65 64 2c 20 69 74 | 20 74 61 6b 65 73 20 74 |fied, it| takes t|
|00003300| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 66 6f 72 |he follo|wing for|
|00003310| 6d 3a 0d 0a 0d 0a 20 20 | 61 72 67 5f 6c 69 73 74 |m:.... |arg_list|
|00003320| 20 3a 3a 3d 20 5b 20 61 | 72 67 5f 65 78 70 72 20 | ::= [ a|rg_expr |
|00003330| 7b 20 22 2c 22 20 61 72 | 67 5f 65 78 70 72 20 7d |{ "," ar|g_expr }|
|00003340| 20 5d 0d 0a 20 20 61 72 | 67 5f 65 78 70 72 20 3a | ].. ar|g_expr :|
|00003350| 3a 3d 20 5b 20 22 2f 22 | 72 65 67 5f 6e 61 6d 65 |:= [ "/"|reg_name|
|00003360| 20 7c 20 22 2f 22 72 65 | 67 5f 61 67 67 72 65 67 | | "/"re|g_aggreg|
|00003370| 61 74 65 20 7c 20 22 2f | 2f 22 20 5d 20 65 78 70 |ate | "/|/" ] exp|
|00003380| 72 0d 0a 0d 0a 45 78 61 | 6d 70 6c 65 3a 0d 0a 20 |r....Exa|mple:.. |
|00003390| 20 44 42 47 3e 63 61 6c | 6c 20 72 74 6e 30 28 20 | DBG>cal|l rtn0( |
|000033a0| 29 0d 0a 20 20 44 42 47 | 3e 63 61 6c 6c 20 72 74 |).. DBG|>call rt|
|000033b0| 6e 31 28 20 61 72 67 31 | 20 29 0d 0a 20 20 44 42 |n1( arg1| ).. DB|
|000033c0| 47 3e 63 61 6c 6c 20 72 | 74 6e 35 28 20 61 72 67 |G>call r|tn5( arg|
|000033d0| 31 2c 20 61 72 67 32 2c | 20 61 72 67 33 2c 20 61 |1, arg2,| arg3, a|
|000033e0| 72 67 34 2c 20 61 72 67 | 35 20 29 0d 0a 0d 0a 54 |rg4, arg|5 )....T|
|000033f0| 68 65 20 61 62 6f 76 65 | 20 65 78 61 6d 70 6c 65 |he above| example|
|00003400| 73 20 69 6c 6c 75 73 74 | 72 61 74 65 20 68 6f 77 |s illust|rate how|
|00003410| 20 61 72 67 75 6d 65 6e | 74 73 20 6d 61 79 20 62 | argumen|ts may b|
|00003420| 65 20 73 70 65 63 69 66 | 69 65 64 2e 20 20 42 79 |e specif|ied. By|
|00003430| 20 64 65 66 61 75 6c 74 | 2c 0d 0a 61 72 67 75 6d | default|,..argum|
|00003440| 65 6e 74 73 20 61 72 65 | 20 70 61 73 73 65 64 20 |ents are| passed |
|00003450| 74 6f 20 74 68 65 20 72 | 6f 75 74 69 6e 65 20 75 |to the r|outine u|
|00003460| 73 69 6e 67 20 74 68 65 | 20 73 74 61 6e 64 61 72 |sing the| standar|
|00003470| 64 20 61 72 67 75 6d 65 | 6e 74 20 70 61 73 73 69 |d argume|nt passi|
|00003480| 6e 67 0d 0a 63 6f 6e 76 | 65 6e 74 69 6f 6e 2e 20 |ng..conv|ention. |
|00003490| 20 49 6e 20 31 36 2d 62 | 69 74 20 6d 6f 64 65 2c | In 16-b|it mode,|
|000034a0| 20 74 68 65 20 73 74 61 | 6e 64 61 72 64 20 61 72 | the sta|ndard ar|
|000034b0| 67 75 6d 65 6e 74 20 70 | 61 73 73 69 6e 67 20 63 |gument p|assing c|
|000034c0| 6f 6e 76 65 6e 74 69 6f | 6e 20 66 6f 72 0d 0a 31 |onventio|n for..1|
|000034d0| 36 2d 62 69 74 20 71 75 | 61 6e 74 69 74 69 65 73 |6-bit qu|antities|
|000034e0| 20 69 73 3a 0d 0a 0d 0a | 20 20 20 20 61 72 67 75 | is:....| argu|
|000034f0| 6d 65 6e 74 20 31 20 70 | 61 73 73 65 64 20 69 6e |ment 1 p|assed in|
|00003500| 20 72 65 67 69 73 74 65 | 72 20 41 58 0d 0a 0d 0a | registe|r AX....|
|00003510| 20 20 20 20 61 72 67 75 | 6d 65 6e 74 20 32 20 70 | argu|ment 2 p|
|00003520| 61 73 73 65 64 20 69 6e | 20 72 65 67 69 73 74 65 |assed in| registe|
|00003530| 72 20 44 58 0d 0a 0d 0a | 20 20 20 20 61 72 67 75 |r DX....| argu|
|00003540| 6d 65 6e 74 20 33 20 70 | 61 73 73 65 64 20 69 6e |ment 3 p|assed in|
|00003550| 20 72 65 67 69 73 74 65 | 72 20 42 58 0d 0a 0d 0a | registe|r BX....|
|00003560| 20 20 20 20 61 72 67 75 | 6d 65 6e 74 20 34 20 70 | argu|ment 4 p|
|00003570| 61 73 73 65 64 20 69 6e | 20 72 65 67 69 73 74 65 |assed in| registe|
|00003580| 72 20 43 58 0d 0a 0d 0a | 20 20 20 20 61 72 67 75 |r CX....| argu|
|00003590| 6d 65 6e 74 20 4e 20 70 | 61 73 73 65 64 20 6f 6e |ment N p|assed on|
|000035a0| 20 74 68 65 20 73 74 61 | 63 6b 20 28 4e 20 3e 3d | the sta|ck (N >=|
|000035b0| 20 35 29 2e 0d 0a 0d 0a | 49 6e 20 33 32 2d 62 69 | 5).....|In 32-bi|
|000035c0| 74 20 6d 6f 64 65 2c 20 | 74 68 65 20 73 74 61 6e |t mode, |the stan|
|000035d0| 64 61 72 64 20 61 72 67 | 75 6d 65 6e 74 20 70 61 |dard arg|ument pa|
|000035e0| 73 73 69 6e 67 20 63 6f | 6e 76 65 6e 74 69 6f 6e |ssing co|nvention|
|000035f0| 20 66 6f 72 20 33 32 2d | 62 69 74 0d 0a 71 75 61 | for 32-|bit..qua|
|00003600| 6e 74 69 74 69 65 73 20 | 69 73 3a 0d 0a 0d 0a 20 |ntities |is:.... |
|00003610| 20 20 20 61 72 67 75 6d | 65 6e 74 20 31 20 70 61 | argum|ent 1 pa|
|00003620| 73 73 65 64 20 69 6e 20 | 72 65 67 69 73 74 65 72 |ssed in |register|
|00003630| 20 45 41 58 0d 0a 0d 0a | 20 20 20 20 61 72 67 75 | EAX....| argu|
|00003640| 6d 65 6e 74 20 32 20 70 | 61 73 73 65 64 20 69 6e |ment 2 p|assed in|
|00003650| 20 72 65 67 69 73 74 65 | 72 20 45 44 58 0d 0a 0d | registe|r EDX...|
|00003660| 0a 20 20 20 20 61 72 67 | 75 6d 65 6e 74 20 33 20 |. arg|ument 3 |
|00003670| 70 61 73 73 65 64 20 69 | 6e 20 72 65 67 69 73 74 |passed i|n regist|
|00003680| 65 72 20 45 42 58 0d 0a | 0d 0a 20 20 20 20 61 72 |er EBX..|.. ar|
|00003690| 67 75 6d 65 6e 74 20 34 | 20 70 61 73 73 65 64 20 |gument 4| passed |
|000036a0| 69 6e 20 72 65 67 69 73 | 74 65 72 20 45 43 58 0d |in regis|ter ECX.|
|000036b0| 0a 0d 0a 20 20 20 20 61 | 72 67 75 6d 65 6e 74 20 |... a|rgument |
|000036c0| 4e 20 70 61 73 73 65 64 | 20 6f 6e 20 74 68 65 20 |N passed| on the |
|000036d0| 73 74 61 63 6b 20 28 4e | 20 3e 3d 20 35 29 2e 0d |stack (N| >= 5)..|
|000036e0| 0a 0d 0a 54 68 65 73 65 | 20 64 65 66 61 75 6c 74 |...These| default|
|000036f0| 73 20 6d 61 79 20 62 65 | 20 63 68 61 6e 67 65 64 |s may be| changed|
|00003700| 20 62 79 20 75 73 69 6e | 67 20 74 68 65 20 53 65 | by usin|g the Se|
|00003710| 74 20 43 61 6c 6c 20 63 | 6f 6d 6d 61 6e 64 2e 20 |t Call c|ommand. |
|00003720| 20 41 6c 74 65 72 6e 61 | 74 69 76 65 6c 79 2c 0d | Alterna|tively,.|
|00003730| 0a 69 66 20 79 6f 75 20 | 77 69 73 68 20 74 6f 20 |.if you |wish to |
|00003740| 73 70 65 63 69 66 79 20 | 61 20 64 69 66 66 65 72 |specify |a differ|
|00003750| 65 6e 74 20 61 72 67 75 | 6d 65 6e 74 20 70 61 73 |ent argu|ment pas|
|00003760| 73 69 6e 67 20 63 6f 6e | 76 65 6e 74 69 6f 6e 20 |sing con|vention |
|00003770| 74 68 65 6e 20 74 68 65 | 0d 0a 22 2f 72 65 67 5f |then the|.."/reg_|
|00003780| 6e 61 6d 65 22 20 28 72 | 65 67 69 73 74 65 72 29 |name" (r|egister)|
|00003790| 2c 20 22 2f 72 65 67 5f | 61 67 67 72 65 67 61 74 |, "/reg_|aggregat|
|000037a0| 65 22 20 28 67 72 6f 75 | 70 20 6f 66 20 72 65 67 |e" (grou|p of reg|
|000037b0| 69 73 74 65 72 73 29 20 | 6f 72 20 22 2f 2f 22 0d |isters) |or "//".|
|000037c0| 0a 28 73 74 61 63 6b 29 | 20 6d 6f 64 69 66 69 65 |.(stack)| modifie|
|000037d0| 72 73 20 6d 61 79 20 62 | 65 20 75 73 65 64 2e 0d |rs may b|e used..|
|000037e0| 0a 0d 0a 45 78 61 6d 70 | 6c 65 3a 0d 0a 20 20 44 |...Examp|le:.. D|
|000037f0| 42 47 3e 63 61 6c 6c 20 | 73 74 64 72 74 6e 28 2f |BG>call |stdrtn(/|
|00003800| 61 78 20 70 31 2c 2f 64 | 78 20 70 32 2c 2f 62 78 |ax p1,/d|x p2,/bx|
|00003810| 20 70 33 2c 2f 63 78 20 | 70 34 2c 2f 2f 20 70 35 | p3,/cx |p4,// p5|
|00003820| 29 0d 0a 09 20 20 6f 72 | 0d 0a 20 20 44 42 47 3e |)... or|.. DBG>|
|00003830| 63 61 6c 6c 20 73 74 64 | 72 74 6e 28 2f 65 61 78 |call std|rtn(/eax|
|00003840| 20 70 31 2c 2f 65 64 78 | 20 70 32 2c 2f 65 62 78 | p1,/edx| p2,/ebx|
|00003850| 20 70 33 2c 2f 65 63 78 | 20 70 34 2c 2f 2f 20 70 | p3,/ecx| p4,// p|
|00003860| 35 29 0d 0a 0d 0a 54 68 | 65 20 61 62 6f 76 65 20 |5)....Th|e above |
|00003870| 65 78 61 6d 70 6c 65 73 | 2c 20 69 6e 20 65 66 66 |examples|, in eff|
|00003880| 65 63 74 2c 20 69 6c 6c | 75 73 74 72 61 74 65 20 |ect, ill|ustrate |
|00003890| 74 68 65 20 70 6c 61 63 | 65 6d 65 6e 74 20 6f 66 |the plac|ement of|
|000038a0| 20 61 72 67 75 6d 65 6e | 74 73 20 69 6e 0d 0a 72 | argumen|ts in..r|
|000038b0| 65 67 69 73 74 65 72 73 | 20 61 6e 64 20 6f 6e 20 |egisters| and on |
|000038c0| 74 68 65 20 73 74 61 63 | 6b 20 61 63 63 6f 72 64 |the stac|k accord|
|000038d0| 69 6e 67 20 74 6f 20 74 | 68 65 20 73 74 61 6e 64 |ing to t|he stand|
|000038e0| 61 72 64 20 61 72 67 75 | 6d 65 6e 74 20 70 61 73 |ard argu|ment pas|
|000038f0| 73 69 6e 67 0d 0a 63 6f | 6e 76 65 6e 74 69 6f 6e |sing..co|nvention|
|00003900| 73 20 66 6f 72 20 31 36 | 2d 62 69 74 20 61 6e 64 |s for 16|-bit and|
|00003910| 20 33 32 2d 62 69 74 20 | 6d 6f 64 65 73 2e 0d 0a | 32-bit |modes...|
|00003920| 0d 0a 45 78 61 6d 70 6c | 65 3a 0d 0a 20 20 44 42 |..Exampl|e:.. DB|
|00003930| 47 3e 63 61 6c 6c 20 6c | 6f 6e 67 74 6f 73 74 72 |G>call l|ongtostr|
|00003940| 28 20 2f 5b 64 78 20 61 | 78 5d 20 6c 6f 6e 67 5f |( /[dx a|x] long_|
|00003950| 61 72 67 20 29 0d 0a 0d | 0a 54 68 65 20 61 62 6f |arg )...|.The abo|
|00003960| 76 65 20 31 36 2d 62 69 | 74 20 65 78 61 6d 70 6c |ve 16-bi|t exampl|
|00003970| 65 20 69 6c 6c 75 73 74 | 72 61 74 65 73 20 74 68 |e illust|rates th|
|00003980| 61 74 20 61 20 33 32 2d | 62 69 74 20 61 72 67 75 |at a 32-|bit argu|
|00003990| 6d 65 6e 74 20 63 61 6e | 20 62 65 20 70 61 73 73 |ment can| be pass|
|000039a0| 65 64 20 69 6e 0d 0a 61 | 20 72 65 67 69 73 74 65 |ed in..a| registe|
|000039b0| 72 20 61 67 67 72 65 67 | 61 74 65 2e 20 20 52 65 |r aggreg|ate. Re|
|000039c0| 67 69 73 74 65 72 20 61 | 67 67 72 65 67 61 74 65 |gister a|ggregate|
|000039d0| 73 20 61 72 65 20 64 65 | 73 63 72 69 62 65 64 20 |s are de|scribed |
|000039e0| 69 6e 20 74 68 65 20 63 | 68 61 70 74 65 72 0d 0a |in the c|hapter..|
|000039f0| 65 6e 74 69 74 6c 65 64 | 20 22 56 49 44 45 4f 20 |entitled| "VIDEO |
|00003a00| 45 78 70 72 65 73 73 69 | 6f 6e 20 48 61 6e 64 6c |Expressi|on Handl|
|00003a10| 69 6e 67 22 2e 0d 0a 0d | 0a 45 78 61 6d 70 6c 65 |ing"....|.Example|
|00003a20| 3a 0d 0a 20 20 44 42 47 | 3e 63 61 6c 6c 20 70 72 |:.. DBG|>call pr|
|00003a30| 69 6e 74 66 28 20 2f 2f | 61 72 67 31 2c 20 2f 2f |intf( //|arg1, //|
|00003a40| 61 72 67 32 2c 20 2f 2f | 61 72 67 33 20 29 0d 0a |arg2, //|arg3 )..|
|00003a50| 0d 0a 54 68 65 20 61 62 | 6f 76 65 20 65 78 61 6d |..The ab|ove exam|
|00003a60| 70 6c 65 20 69 6c 6c 75 | 73 74 72 61 74 65 73 20 |ple illu|strates |
|00003a70| 68 6f 77 20 74 6f 20 70 | 61 73 73 20 61 6c 6c 20 |how to p|ass all |
|00003a80| 61 72 67 75 6d 65 6e 74 | 73 20 6f 6e 20 74 68 65 |argument|s on the|
|00003a90| 20 73 74 61 63 6b 2e 20 | 20 54 68 65 0d 0a 61 72 | stack. | The..ar|
|00003aa0| 67 75 6d 65 6e 74 73 20 | 61 72 65 20 70 75 73 68 |guments |are push|
|00003ab0| 65 64 20 6f 6e 74 6f 20 | 74 68 65 20 73 74 61 63 |ed onto |the stac|
|00003ac0| 6b 20 69 6e 20 61 20 72 | 69 67 68 74 20 74 6f 20 |k in a r|ight to |
|00003ad0| 6c 65 66 74 20 6f 72 64 | 65 72 20 73 6f 20 74 68 |left ord|er so th|
|00003ae0| 61 74 0d 0a 28 70 72 65 | 63 65 64 69 6e 67 20 74 |at..(pre|ceding t|
|00003af0| 68 65 20 61 63 74 75 61 | 6c 20 63 61 6c 6c 29 20 |he actua|l call) |
|00003b00| 22 61 72 67 31 22 20 77 | 69 6c 6c 20 62 65 20 6f |"arg1" w|ill be o|
|00003b10| 6e 20 74 68 65 20 74 6f | 70 20 6f 66 20 74 68 65 |n the to|p of the|
|00003b20| 20 73 74 61 63 6b 2c 20 | 22 61 72 67 32 22 0d 0a | stack, |"arg2"..|
|00003b30| 77 69 6c 6c 20 62 65 20 | 6e 65 78 74 2c 20 61 6e |will be |next, an|
|00003b40| 64 20 73 6f 20 6f 6e 2e | 0d 0a 0d 0a 54 68 65 20 |d so on.|....The |
|00003b50| 61 72 67 75 6d 65 6e 74 | 73 20 63 61 6e 20 62 65 |argument|s can be|
|00003b60| 20 65 78 70 72 65 73 73 | 69 6f 6e 73 20 61 6e 64 | express|ions and|
|00003b70| 20 61 6c 6c 20 65 78 70 | 72 65 73 73 69 6f 6e 73 | all exp|ressions|
|00003b80| 20 61 72 65 20 65 76 61 | 6c 75 61 74 65 64 20 62 | are eva|luated b|
|00003b90| 65 66 6f 72 65 0d 0a 74 | 68 65 20 61 72 67 75 6d |efore..t|he argum|
|00003ba0| 65 6e 74 73 20 61 72 65 | 20 61 73 73 69 67 6e 65 |ents are| assigne|
|00003bb0| 64 20 74 6f 20 72 65 67 | 69 73 74 65 72 73 20 6f |d to reg|isters o|
|00003bc0| 72 20 70 6c 61 63 65 64 | 20 6f 6e 20 74 68 65 20 |r placed| on the |
|00003bd0| 73 74 61 63 6b 2e 0d 0a | 0d 0a 45 78 61 6d 70 6c |stack...|..Exampl|
|00003be0| 65 3a 0d 0a 20 20 44 42 | 47 3e 63 61 6c 6c 20 72 |e:.. DB|G>call r|
|00003bf0| 74 6e 28 20 2f 61 78 20 | 64 78 2b 31 2c 20 2f 62 |tn( /ax |dx+1, /b|
|00003c00| 78 20 61 78 2d 63 78 2c | 20 2f 63 78 20 31 32 33 |x ax-cx,| /cx 123|
|00003c10| 29 0d 0a 0d 0a 54 68 65 | 20 65 78 70 72 65 73 73 |)....The| express|
|00003c20| 69 6f 6e 73 20 22 64 78 | 2b 31 22 2c 20 22 61 78 |ions "dx|+1", "ax|
|00003c30| 2d 63 78 22 20 61 6e 64 | 20 22 31 32 33 22 20 61 |-cx" and| "123" a|
|00003c40| 72 65 20 65 76 61 6c 75 | 61 74 65 64 2e 20 20 54 |re evalu|ated. T|
|00003c50| 68 65 20 72 65 73 75 6c | 74 73 20 6f 66 0d 0a 74 |he resul|ts of..t|
|00003c60| 68 65 73 65 20 65 78 70 | 72 65 73 73 69 6f 6e 73 |hese exp|ressions|
|00003c70| 20 61 72 65 20 74 68 65 | 6e 20 61 73 73 69 67 6e | are the|n assign|
|00003c80| 65 64 20 74 6f 20 74 68 | 65 20 41 58 2c 20 42 58 |ed to th|e AX, BX|
|00003c90| 20 61 6e 64 20 43 58 20 | 72 65 67 69 73 74 65 72 | and CX |register|
|00003ca0| 73 0d 0a 72 65 73 70 65 | 63 74 69 76 65 6c 79 2e |s..respe|ctively.|
|00003cb0| 20 20 4e 6f 74 65 20 74 | 68 61 74 20 74 68 65 20 | Note t|hat the |
|00003cc0| 72 65 73 75 6c 74 73 20 | 77 6f 75 6c 64 20 68 61 |results |would ha|
|00003cd0| 76 65 20 62 65 65 6e 20 | 71 75 69 74 65 20 64 69 |ve been |quite di|
|00003ce0| 66 66 65 72 65 6e 74 20 | 69 66 20 31 32 33 0d 0a |fferent |if 123..|
|00003cf0| 68 61 64 20 62 65 65 6e | 20 61 73 73 69 67 6e 65 |had been| assigne|
|00003d00| 64 20 74 6f 20 74 68 65 | 20 43 58 20 72 65 67 69 |d to the| CX regi|
|00003d10| 73 74 65 72 20 62 65 66 | 6f 72 65 20 74 68 65 20 |ster bef|ore the |
|00003d20| 65 78 70 72 65 73 73 69 | 6f 6e 20 22 61 78 2d 63 |expressi|on "ax-c|
|00003d30| 78 22 20 77 61 73 0d 0a | 65 76 61 6c 75 61 74 65 |x" was..|evaluate|
|00003d40| 64 2e 0d 0a 0d 0a 41 6c | 6c 20 72 65 67 69 73 74 |d.....Al|l regist|
|00003d50| 65 72 20 63 6f 6e 74 65 | 6e 74 73 20 61 72 65 20 |er conte|nts are |
|00003d60| 70 72 65 73 65 72 76 65 | 64 20 62 79 20 74 68 65 |preserve|d by the|
|00003d70| 20 64 65 62 75 67 67 65 | 72 2e 20 20 54 68 65 72 | debugge|r. Ther|
|00003d80| 65 66 6f 72 65 2c 20 6e | 65 69 74 68 65 72 20 74 |efore, n|either t|
|00003d90| 68 65 0d 0a 63 68 6f 69 | 63 65 20 6f 66 20 61 72 |he..choi|ce of ar|
|00003da0| 67 75 6d 65 6e 74 20 70 | 61 73 73 69 6e 67 20 63 |gument p|assing c|
|00003db0| 6f 6e 76 65 6e 74 69 6f | 6e 20 6e 6f 72 20 74 68 |onventio|n nor th|
|00003dc0| 65 20 63 61 6c 6c 65 64 | 20 72 6f 75 74 69 6e 65 |e called| routine|
|00003dd0| 20 63 61 6e 20 70 65 72 | 6d 61 6e 65 6e 74 6c 79 | can per|manently|
|00003de0| 0d 0a 63 68 61 6e 67 65 | 20 74 68 65 20 72 65 67 |..change| the reg|
|00003df0| 69 73 74 65 72 20 63 6f | 6e 74 65 6e 74 73 2e 20 |ister co|ntents. |
|00003e00| 20 54 68 65 20 63 61 6c | 6c 65 64 20 72 6f 75 74 | The cal|led rout|
|00003e10| 69 6e 65 20 63 6f 75 6c | 64 2c 20 68 6f 77 65 76 |ine coul|d, howev|
|00003e20| 65 72 2c 20 68 61 76 65 | 20 73 69 64 65 0d 0a 65 |er, have| side..e|
|00003e30| 66 66 65 63 74 73 20 73 | 75 63 68 20 61 73 20 6d |ffects s|uch as m|
|00003e40| 6f 64 69 66 79 69 6e 67 | 20 6d 65 6d 6f 72 79 20 |odifying| memory |
|00003e50| 6c 6f 63 61 74 69 6f 6e | 73 2c 20 70 65 72 66 6f |location|s, perfo|
|00003e60| 72 6d 69 6e 67 20 69 6e | 70 75 74 2f 6f 75 74 70 |rming in|put/outp|
|00003e70| 75 74 2c 20 65 74 63 2e | 0d 0a 0d 0a 44 69 73 70 |ut, etc.|....Disp|
|00003e80| 6f 73 69 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 52 |osition |of the R|
|00003e90| 65 74 75 72 6e 20 56 61 | 6c 75 65 0d 0a cd cd cd |eturn Va|lue.....|
|00003ea0| cd cd cd cd cd cd cd cd | cd cd cd cd cd cd cd cd |........|........|
|00003eb0| cd cd cd cd cd cd cd cd | cd cd cd cd 0d 0a 4f 6e |........|......On|
|00003ec0| 65 20 6f 66 20 74 68 72 | 65 65 20 70 6f 73 73 69 |e of thr|ee possi|
|00003ed0| 62 6c 65 20 61 63 74 69 | 6f 6e 73 20 63 61 6e 20 |ble acti|ons can |
|00003ee0| 6f 63 63 75 72 20 61 66 | 74 65 72 20 74 68 65 20 |occur af|ter the |
|00003ef0| 63 61 6c 6c 65 64 20 72 | 6f 75 74 69 6e 65 20 72 |called r|outine r|
|00003f00| 65 74 75 72 6e 73 20 74 | 6f 0d 0a 74 68 65 20 64 |eturns t|o..the d|
|00003f10| 65 62 75 67 67 65 72 2e | 0d 0a 0d 0a 20 20 31 2e |ebugger.|.... 1.|
|00003f20| 20 42 79 20 64 65 66 61 | 75 6c 74 2c 20 74 68 65 | By defa|ult, the|
|00003f30| 20 63 6f 6e 74 65 6e 74 | 73 20 6f 66 20 74 68 65 | content|s of the|
|00003f40| 20 41 58 20 72 65 67 69 | 73 74 65 72 20 28 31 36 | AX regi|ster (16|
|00003f50| 2d 62 69 74 20 6d 6f 64 | 65 29 20 6f 72 20 45 41 |-bit mod|e) or EA|
|00003f60| 58 0d 0a 20 20 20 20 72 | 65 67 69 73 74 65 72 20 |X.. r|egister |
|00003f70| 28 33 32 2d 62 69 74 20 | 6d 6f 64 65 29 2c 20 77 |(32-bit |mode), w|
|00003f80| 68 69 63 68 20 69 73 20 | 72 65 74 75 72 6e 65 64 |hich is |returned|
|00003f90| 20 62 79 20 74 68 65 20 | 72 6f 75 74 69 6e 65 2c | by the |routine,|
|00003fa0| 20 61 72 65 20 70 72 69 | 6e 74 65 64 20 69 6e 0d | are pri|nted in.|
|00003fb0| 0a 20 20 20 20 74 68 65 | 20 44 69 61 6c 6f 67 75 |. the| Dialogu|
|00003fc0| 65 20 77 69 6e 64 6f 77 | 2e 20 20 54 68 69 73 20 |e window|. This |
|00003fd0| 64 65 66 61 75 6c 74 20 | 6d 61 79 20 62 65 20 63 |default |may be c|
|00003fe0| 68 61 6e 67 65 64 20 62 | 79 20 75 73 69 6e 67 20 |hanged b|y using |
|00003ff0| 74 68 65 20 53 65 74 20 | 43 61 6c 6c 0d 0a 20 20 |the Set |Call.. |
|00004000| 20 20 63 6f 6d 6d 61 6e | 64 2e 0d 0a 20 20 32 2e | comman|d... 2.|
|00004010| 20 41 20 22 2f 22 20 6d | 61 79 20 62 65 20 75 73 | A "/" m|ay be us|
|00004020| 65 64 20 74 6f 20 69 6e | 64 69 63 61 74 65 20 74 |ed to in|dicate t|
|00004030| 68 61 74 20 74 68 65 20 | 72 6f 75 74 69 6e 65 20 |hat the |routine |
|00004040| 64 6f 65 73 20 6e 6f 74 | 20 72 65 74 75 72 6e 20 |does not| return |
|00004050| 61 6e 79 0d 0a 20 20 20 | 20 76 61 6c 75 65 20 69 |any.. | value i|
|00004060| 6e 20 77 68 69 63 68 20 | 63 61 73 65 20 6e 6f 74 |n which |case not|
|00004070| 68 69 6e 67 20 69 73 20 | 70 72 69 6e 74 65 64 2e |hing is |printed.|
|00004080| 0d 0a 20 20 33 2e 20 41 | 20 66 6f 72 6d 61 74 74 |.. 3. A| formatt|
|00004090| 69 6e 67 20 73 74 72 69 | 6e 67 20 61 6e 64 20 6c |ing stri|ng and l|
|000040a0| 69 73 74 20 6f 66 20 65 | 78 70 72 65 73 73 69 6f |ist of e|xpressio|
|000040b0| 6e 73 20 6d 61 79 20 62 | 65 20 73 70 65 63 69 66 |ns may b|e specif|
|000040c0| 69 65 64 2e 20 20 54 68 | 65 0d 0a 20 20 20 20 73 |ied. Th|e.. s|
|000040d0| 79 6e 74 61 78 20 6f 66 | 20 70 72 69 6e 74 5f 6c |yntax of| print_l|
|000040e0| 69 73 74 20 69 73 20 73 | 69 6d 69 6c 61 72 20 74 |ist is s|imilar t|
|000040f0| 6f 20 74 68 61 74 20 6f | 66 20 74 68 65 20 50 72 |o that o|f the Pr|
|00004100| 69 6e 74 20 63 6f 6d 6d | 61 6e 64 2e 20 20 54 68 |int comm|and. Th|
|00004110| 65 0d 0a 20 20 20 20 65 | 78 70 72 65 73 73 69 6f |e.. e|xpressio|
|00004120| 6e 73 20 61 72 65 20 65 | 76 61 6c 75 61 74 65 64 |ns are e|valuated|
|00004130| 20 61 6e 64 20 74 68 65 | 20 72 65 73 75 6c 74 73 | and the| results|
|00004140| 20 70 72 69 6e 74 65 64 | 20 69 6e 20 74 68 65 20 | printed| in the |
|00004150| 44 69 61 6c 6f 67 75 65 | 0d 0a 20 20 20 20 77 69 |Dialogue|.. wi|
|00004160| 6e 64 6f 77 2e 0d 0a 0d | 0a 45 78 61 6d 70 6c 65 |ndow....|.Example|
|00004170| 3a 0d 0a 20 20 44 42 47 | 3e 63 61 6c 6c 20 74 65 |:.. DBG|>call te|
|00004180| 73 74 31 28 29 20 2f 0d | 0a 20 20 44 42 47 3e 63 |st1() /.|. DBG>c|
|00004190| 61 6c 6c 20 74 65 73 74 | 32 28 20 73 2c 20 74 20 |all test|2( s, t |
|000041a0| 29 20 61 78 2c 20 62 78 | 2c 20 63 78 0d 0a 20 20 |) ax, bx|, cx.. |
|000041b0| 44 42 47 3e 63 61 6c 6c | 20 74 65 73 74 33 28 20 |DBG>call| test3( |
|000041c0| 61 2c 62 2c 63 20 29 7b | 52 65 73 75 6c 74 73 20 |a,b,c ){|Results |
|000041d0| 77 65 72 65 20 25 69 2c | 25 69 2c 25 75 7d 64 78 |were %i,|%i,%u}dx|
|000041e0| 2c 61 78 2c 74 61 67 0d | 0a 0d 0a 49 6e 20 74 68 |,ax,tag.|...In th|
|000041f0| 65 20 66 69 72 73 74 20 | 6c 69 6e 65 20 6f 66 20 |e first |line of |
|00004200| 74 68 65 20 61 62 6f 76 | 65 20 65 78 61 6d 70 6c |the abov|e exampl|
|00004210| 65 2c 20 74 68 65 20 72 | 6f 75 74 69 6e 65 20 64 |e, the r|outine d|
|00004220| 6f 65 73 20 6e 6f 74 20 | 72 65 74 75 72 6e 20 61 |oes not |return a|
|00004230| 6e 79 0d 0a 75 73 65 66 | 75 6c 20 69 6e 66 6f 72 |ny..usef|ul infor|
|00004240| 6d 61 74 69 6f 6e 20 69 | 6e 20 74 68 65 20 41 58 |mation i|n the AX|
|00004250| 20 72 65 67 69 73 74 65 | 72 20 73 6f 20 77 65 20 | registe|r so we |
|00004260| 73 75 70 70 72 65 73 73 | 20 74 68 65 20 70 72 69 |suppress| the pri|
|00004270| 6e 74 69 6e 67 20 6f 66 | 20 74 68 69 73 0d 0a 72 |nting of| this..r|
|00004280| 65 67 69 73 74 65 72 2e | 20 20 49 6e 20 74 68 65 |egister.| In the|
|00004290| 20 73 65 63 6f 6e 64 20 | 6c 69 6e 65 2c 20 74 68 | second |line, th|
|000042a0| 65 20 63 6f 6e 74 65 6e | 74 73 20 6f 66 20 74 68 |e conten|ts of th|
|000042b0| 65 20 41 58 2c 20 42 58 | 20 61 6e 64 20 43 58 20 |e AX, BX| and CX |
|000042c0| 72 65 67 69 73 74 65 72 | 73 0d 0a 61 72 65 20 64 |register|s..are d|
|000042d0| 69 73 70 6c 61 79 65 64 | 20 77 69 74 68 20 64 65 |isplayed| with de|
|000042e0| 66 61 75 6c 74 20 66 6f | 72 6d 61 74 74 69 6e 67 |fault fo|rmatting|
|000042f0| 2e 09 49 6e 20 74 68 65 | 20 74 68 69 72 64 20 6c |..In the| third l|
|00004300| 69 6e 65 2c 20 74 68 65 | 20 63 6f 6e 74 65 6e 74 |ine, the| content|
|00004310| 73 20 6f 66 0d 0a 74 68 | 65 20 44 58 20 61 6e 64 |s of..th|e DX and|
|00004320| 20 41 58 20 72 65 67 69 | 73 74 65 72 73 20 61 6e | AX regi|sters an|
|00004330| 64 20 74 68 65 20 76 61 | 72 69 61 62 6c 65 20 22 |d the va|riable "|
|00004340| 74 61 67 22 20 61 72 65 | 20 64 69 73 70 6c 61 79 |tag" are| display|
|00004350| 65 64 20 75 73 69 6e 67 | 20 74 68 65 0d 0a 73 70 |ed using| the..sp|
|00004360| 65 63 69 66 69 65 64 20 | 66 6f 72 6d 61 74 74 69 |ecified |formatti|
|00004370| 6e 67 20 73 74 72 69 6e | 67 2e 20 20 53 65 65 20 |ng strin|g. See |
|00004380| 74 68 65 20 64 65 73 63 | 72 69 70 74 69 6f 6e 20 |the desc|ription |
|00004390| 6f 66 20 74 68 65 20 50 | 72 69 6e 74 20 63 6f 6d |of the P|rint com|
|000043a0| 6d 61 6e 64 20 66 6f 72 | 0d 0a 6d 6f 72 65 20 69 |mand for|..more i|
|000043b0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 6f 6e 20 66 6f |nformati|on on fo|
|000043c0| 72 6d 61 74 74 69 6e 67 | 20 73 74 72 69 6e 67 73 |rmatting| strings|
|000043d0| 2e 0d 0a 0d 0a 53 75 70 | 70 6f 73 65 20 74 68 61 |.....Sup|pose tha|
|000043e0| 74 20 77 65 20 77 61 6e | 74 20 74 6f 20 75 70 64 |t we wan|t to upd|
|000043f0| 61 74 65 20 73 6f 6d 65 | 20 6f 66 20 74 68 65 20 |ate some| of the |
|00004400| 72 65 67 69 73 74 65 72 | 73 20 69 6e 20 6f 75 72 |register|s in our|
|00004410| 20 63 75 72 72 65 6e 74 | 20 72 65 67 69 73 74 65 | current| registe|
|00004420| 72 0d 0a 73 65 74 20 77 | 69 74 68 20 76 61 6c 75 |r..set w|ith valu|
|00004430| 65 73 20 72 65 74 75 72 | 6e 65 64 20 62 79 20 74 |es retur|ned by t|
|00004440| 68 65 20 72 6f 75 74 69 | 6e 65 20 74 68 61 74 20 |he routi|ne that |
|00004450| 77 65 20 63 61 6c 6c 2e | 0d 0a 0d 0a 45 78 61 6d |we call.|....Exam|
|00004460| 70 6c 65 3a 0d 0a 20 20 | 44 42 47 3e 63 61 6c 6c |ple:.. |DBG>call|
|00004470| 2f 66 61 72 20 74 65 73 | 74 28 29 20 5f 61 78 3d |/far tes|t() _ax=|
|00004480| 61 78 2c 20 5f 62 78 3d | 62 78 3b 2f 61 78 3d 5f |ax, _bx=|bx;/ax=_|
|00004490| 61 78 3b 2f 62 78 3d 5f | 62 78 0d 0a 0d 0a 49 6e |ax;/bx=_|bx....In|
|000044a0| 20 74 68 65 20 61 62 6f | 76 65 20 65 78 61 6d 70 | the abo|ve examp|
|000044b0| 6c 65 2c 20 77 65 20 63 | 61 6c 6c 20 74 68 65 20 |le, we c|all the |
|000044c0| 72 6f 75 74 69 6e 65 20 | 22 74 65 73 74 22 20 75 |routine |"test" u|
|000044d0| 73 69 6e 67 20 61 20 22 | 66 61 72 22 20 63 61 6c |sing a "|far" cal|
|000044e0| 6c 2e 20 20 53 69 6e 63 | 65 0d 0a 72 65 67 69 73 |l. Sinc|e..regis|
|000044f0| 74 65 72 20 63 6f 6e 74 | 65 6e 74 73 20 61 72 65 |ter cont|ents are|
|00004500| 20 75 6e 61 66 66 65 63 | 74 65 64 20 62 79 20 74 | unaffec|ted by t|
|00004510| 68 65 20 63 61 6c 6c 2c | 20 77 65 20 61 73 73 69 |he call,| we assi|
|00004520| 67 6e 20 74 68 65 20 76 | 61 6c 75 65 73 20 72 65 |gn the v|alues re|
|00004530| 74 75 72 6e 65 64 0d 0a | 69 6e 20 74 68 65 20 41 |turned..|in the A|
|00004540| 58 20 61 6e 64 20 42 58 | 20 72 65 67 69 73 74 65 |X and BX| registe|
|00004550| 72 73 20 74 6f 20 74 68 | 65 20 76 61 72 69 61 62 |rs to th|e variab|
|00004560| 6c 65 73 20 5f 61 78 20 | 61 6e 64 20 5f 62 78 2e |les _ax |and _bx.|
|00004570| 20 20 53 75 62 73 65 71 | 75 65 6e 74 0d 0a 64 65 | Subseq|uent..de|
|00004580| 62 75 67 67 65 72 20 63 | 6f 6d 6d 61 6e 64 73 20 |bugger c|ommands |
|00004590| 61 73 73 69 67 6e 20 74 | 68 65 73 65 20 73 61 76 |assign t|hese sav|
|000045a0| 65 64 20 76 61 6c 75 65 | 73 20 74 6f 20 74 68 65 |ed value|s to the|
|000045b0| 20 41 58 20 61 6e 64 20 | 42 58 20 72 65 67 69 73 | AX and |BX regis|
|000045c0| 74 65 72 73 20 69 6e 0d | 0a 6f 75 72 20 63 75 72 |ters in.|.our cur|
|000045d0| 72 65 6e 74 20 72 65 67 | 69 73 74 65 72 20 73 65 |rent reg|ister se|
|000045e0| 74 2e 20 20 56 49 44 45 | 4f 20 61 6c 6c 6f 77 73 |t. VIDE|O allows|
|000045f0| 20 75 73 20 74 6f 20 64 | 65 66 69 6e 65 20 6e 65 | us to d|efine ne|
|00004600| 77 20 76 61 72 69 61 62 | 6c 65 73 20 73 69 6d 70 |w variab|les simp|
|00004610| 6c 79 20 62 79 0d 0a 73 | 70 65 63 69 66 79 69 6e |ly by..s|pecifyin|
|00004620| 67 20 61 20 75 6e 69 71 | 75 65 20 6e 61 6d 65 20 |g a uniq|ue name |
|00004630| 61 6e 64 20 74 68 65 6e | 20 61 73 73 69 67 6e 69 |and then| assigni|
|00004640| 6e 67 20 61 20 76 61 6c | 75 65 20 74 6f 20 69 74 |ng a val|ue to it|
|00004650| 2e 0d 0a 0d 0a 49 6e 20 | 74 68 65 20 6e 65 78 74 |.....In |the next|
|00004660| 20 65 78 61 6d 70 6c 65 | 2c 20 77 65 20 69 6c 6c | example|, we ill|
|00004670| 75 73 74 72 61 74 65 20 | 68 6f 77 20 74 6f 20 63 |ustrate |how to c|
|00004680| 61 6c 6c 20 61 20 42 49 | 4f 53 20 72 6f 75 74 69 |all a BI|OS routi|
|00004690| 6e 65 20 69 6e 20 31 36 | 2d 62 69 74 0d 0a 22 72 |ne in 16|-bit.."r|
|000046a0| 65 61 6c 22 20 6d 6f 64 | 65 2e 0d 0a 0d 0a 45 78 |eal" mod|e.....Ex|
|000046b0| 61 6d 70 6c 65 3a 0d 0a | 20 20 44 42 47 3e 63 2f |ample:..| DBG>c/|
|000046c0| 69 6e 74 20 25 30 3a 28 | 34 2a 30 78 31 30 29 20 |int %0:(|4*0x10) |
|000046d0| 28 2f 61 68 20 33 2c 20 | 2f 62 68 20 30 29 20 7b |(/ah 3, |/bh 0) {|
|000046e0| 63 74 3d 25 78 2c 72 63 | 3d 25 78 7d 63 78 2c 64 |ct=%x,rc|=%x}cx,d|
|000046f0| 78 0d 0a 0d 0a 49 6e 20 | 74 68 65 20 61 62 6f 76 |x....In |the abov|
|00004700| 65 20 65 78 61 6d 70 6c | 65 2c 20 77 65 20 63 61 |e exampl|e, we ca|
|00004710| 6c 6c 20 74 68 65 20 49 | 42 4d 20 42 49 4f 53 20 |ll the I|BM BIOS |
|00004720| 22 56 69 64 65 6f 20 49 | 2f 4f 22 20 69 6e 74 65 |"Video I|/O" inte|
|00004730| 72 72 75 70 74 20 72 6f | 75 74 69 6e 65 0d 0a 28 |rrupt ro|utine..(|
|00004740| 49 4e 54 20 30 78 31 30 | 29 20 74 6f 20 6f 62 74 |INT 0x10|) to obt|
|00004750| 61 69 6e 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |ain the |current |
|00004760| 63 75 72 73 6f 72 20 74 | 79 70 65 20 61 6e 64 20 |cursor t|ype and |
|00004770| 70 6f 73 69 74 69 6f 6e | 20 28 41 48 3d 33 29 20 |position| (AH=3) |
|00004780| 66 6f 72 20 76 69 64 65 | 6f 0d 0a 70 61 67 65 20 |for vide|o..page |
|00004790| 30 20 28 42 48 3d 30 29 | 2e 09 54 68 65 20 25 20 |0 (BH=0)|..The % |
|000047a0| 6f 70 65 72 61 74 6f 72 | 20 79 69 65 6c 64 73 20 |operator| yields |
|000047b0| 74 68 65 20 73 65 67 6d | 65 6e 74 3a 6f 66 66 73 |the segm|ent:offs|
|000047c0| 65 74 20 70 61 69 72 20 | 73 74 6f 72 65 64 20 61 |et pair |stored a|
|000047d0| 74 0d 0a 6c 6f 63 61 74 | 69 6f 6e 73 20 30 3a 34 |t..locat|ions 0:4|
|000047e0| 30 20 74 68 72 6f 75 67 | 68 20 30 3a 34 33 2e 20 |0 throug|h 0:43. |
|000047f0| 20 54 68 65 20 63 75 72 | 73 6f 72 20 74 79 70 65 | The cur|sor type|
|00004800| 20 69 73 20 72 65 74 75 | 72 6e 65 64 20 69 6e 20 | is retu|rned in |
|00004810| 74 68 65 20 22 43 58 22 | 0d 0a 72 65 67 69 73 74 |the "CX"|..regist|
|00004820| 65 72 20 61 6e 64 20 74 | 68 65 20 63 75 72 73 6f |er and t|he curso|
|00004830| 72 20 72 6f 77 20 61 6e | 64 20 63 6f 6c 75 6d 6e |r row an|d column|
|00004840| 20 61 72 65 20 72 65 74 | 75 72 6e 65 64 20 69 6e | are ret|urned in|
|00004850| 20 74 68 65 20 22 44 58 | 22 20 72 65 67 69 73 74 | the "DX|" regist|
|00004860| 65 72 3b 0d 0a 68 65 6e | 63 65 20 77 65 20 61 73 |er;..hen|ce we as|
|00004870| 6b 20 74 68 65 20 64 65 | 62 75 67 67 65 72 20 74 |k the de|bugger t|
|00004880| 6f 20 64 69 73 70 6c 61 | 79 20 74 68 65 20 63 6f |o displa|y the co|
|00004890| 6e 74 65 6e 74 73 20 6f | 66 20 62 6f 74 68 20 72 |ntents o|f both r|
|000048a0| 65 67 69 73 74 65 72 73 | 20 69 6e 0d 0a 68 65 78 |egisters| in..hex|
|000048b0| 61 64 65 63 69 6d 61 6c | 20 66 6f 72 6d 61 74 2e |adecimal| format.|
|000048c0| 0d 0a 3a 3a 3a 3a 43 4f | 4d 4d 41 4e 44 5f 46 49 |..::::CO|MMAND_FI|
|000048d0| 4c 45 53 0d 0a 54 68 65 | 20 66 6f 6c 6c 6f 77 69 |LES..The| followi|
|000048e0| 6e 67 20 73 65 63 74 69 | 6f 6e 73 20 64 65 73 63 |ng secti|ons desc|
|000048f0| 72 69 62 65 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |ribe the| command|
|00004900| 20 66 69 6c 65 73 20 74 | 68 61 74 20 61 72 65 20 | files t|hat are |
|00004910| 70 72 6f 76 69 64 65 64 | 20 77 69 74 68 0d 0a 56 |provided| with..V|
|00004920| 49 44 45 4f 2e 0d 0a 0d | 0a 55 6e 64 65 72 20 44 |IDEO....|.Under D|
|00004930| 4f 53 20 6f 72 20 4f 53 | 2f 32 20 73 79 73 74 65 |OS or OS|/2 syste|
|00004940| 6d 73 2c 20 79 6f 75 20 | 73 68 6f 75 6c 64 20 65 |ms, you |should e|
|00004950| 6e 73 75 72 65 20 74 68 | 61 74 20 74 68 65 20 22 |nsure th|at the "|
|00004960| 42 49 4e 42 22 20 64 69 | 72 65 63 74 6f 72 79 20 |BINB" di|rectory |
|00004970| 6f 66 0d 0a 74 68 65 20 | 57 41 54 43 4f 4d 20 63 |of..the |WATCOM c|
|00004980| 6f 6d 70 69 6c 65 72 20 | 70 61 63 6b 61 67 65 20 |ompiler |package |
|00004990| 69 73 20 69 6e 63 6c 75 | 64 65 64 20 69 6e 20 74 |is inclu|ded in t|
|000049a0| 68 65 20 50 41 54 48 20 | 65 6e 76 69 72 6f 6e 6d |he PATH |environm|
|000049b0| 65 6e 74 20 76 61 72 69 | 61 62 6c 65 2e 0d 0a 54 |ent vari|able...T|
|000049c0| 68 69 73 20 64 69 72 65 | 63 74 6f 72 79 20 63 6f |his dire|ctory co|
|000049d0| 6e 74 61 69 6e 73 20 74 | 68 65 20 63 6f 6d 6d 61 |ntains t|he comma|
|000049e0| 6e 64 20 66 69 6c 65 73 | 20 70 72 6f 76 69 64 65 |nd files| provide|
|000049f0| 64 20 77 69 74 68 20 56 | 49 44 45 4f 2e 09 56 49 |d with V|IDEO..VI|
|00004a00| 44 45 4f 20 75 73 65 73 | 0d 0a 74 68 65 20 50 41 |DEO uses|..the PA|
|00004a10| 54 48 20 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 20 76 |TH envir|onment v|
|00004a20| 61 72 69 61 62 6c 65 20 | 74 6f 20 6c 6f 63 61 74 |ariable |to locat|
|00004a30| 65 20 63 6f 6d 6d 61 6e | 64 20 66 69 6c 65 73 2e |e comman|d files.|
|00004a40| 0d 0a 0d 0a 55 6e 64 65 | 72 20 51 4e 58 2c 20 74 |....Unde|r QNX, t|
|00004a50| 68 65 20 63 6f 6d 6d 61 | 6e 64 20 66 69 6c 65 73 |he comma|nd files|
|00004a60| 20 70 72 6f 76 69 64 65 | 64 20 77 69 74 68 20 56 | provide|d with V|
|00004a70| 49 44 45 4f 20 61 72 65 | 20 75 73 75 61 6c 6c 79 |IDEO are| usually|
|00004a80| 20 6c 6f 63 61 74 65 64 | 20 69 6e 20 74 68 65 0d | located| in the.|
|00004a90| 0a 22 2f 65 74 63 2f 77 | 76 69 64 65 6f 22 20 64 |."/etc/w|video" d|
|00004aa0| 69 72 65 63 74 6f 72 79 | 2e 20 20 54 68 65 20 73 |irectory|. The s|
|00004ab0| 65 61 72 63 68 20 6f 72 | 64 65 72 20 66 6f 72 20 |earch or|der for |
|00004ac0| 63 6f 6d 6d 61 6e 64 20 | 66 69 6c 65 73 20 69 73 |command |files is|
|00004ad0| 20 61 73 20 66 6f 6c 6c | 6f 77 73 3a 0d 0a 0d 0a | as foll|ows:....|
|00004ae0| 20 20 31 2e 20 74 68 65 | 20 63 75 72 72 65 6e 74 | 1. the| current|
|00004af0| 20 64 69 72 65 63 74 6f | 72 79 2c 0d 0a 20 20 32 | directo|ry,.. 2|
|00004b00| 2e 20 74 68 65 20 70 61 | 74 68 73 20 6c 69 73 74 |. the pa|ths list|
|00004b10| 65 64 20 69 6e 20 74 68 | 65 20 57 56 49 44 45 4f |ed in th|e WVIDEO|
|00004b20| 5f 50 41 54 48 20 65 6e | 76 69 72 6f 6e 6d 65 6e |_PATH en|vironmen|
|00004b30| 74 20 76 61 72 69 61 62 | 6c 65 2c 0d 0a 20 20 33 |t variab|le,.. 3|
|00004b40| 2e 20 74 68 65 20 70 61 | 74 68 20 6c 69 73 74 65 |. the pa|th liste|
|00004b50| 64 20 69 6e 20 74 68 65 | 20 48 4f 4d 45 20 65 6e |d in the| HOME en|
|00004b60| 76 69 72 6f 6e 6d 65 6e | 74 20 76 61 72 69 61 62 |vironmen|t variab|
|00004b70| 6c 65 2c 20 61 6e 64 2c | 20 66 69 6e 61 6c 6c 79 |le, and,| finally|
|00004b80| 2c 0d 0a 20 20 34 2e 20 | 74 68 65 20 22 2f 65 74 |,.. 4. |the "/et|
|00004b90| 63 2f 77 76 69 64 65 6f | 22 20 64 69 72 65 63 74 |c/wvideo|" direct|
|00004ba0| 6f 72 79 2e 0d 0a 0d 0a | 54 68 65 20 49 4e 76 6f |ory.....|The INvo|
|00004bb0| 6b 65 20 6f 72 20 3c 20 | 63 6f 6d 6d 61 6e 64 20 |ke or < |command |
|00004bc0| 69 73 20 75 73 65 64 20 | 74 6f 20 65 78 65 63 75 |is used |to execu|
|00004bd0| 74 65 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 73 20 |te the c|ommands |
|00004be0| 77 69 74 68 69 6e 20 61 | 20 63 6f 6d 6d 61 6e 64 |within a| command|
|00004bf0| 0d 0a 66 69 6c 65 2e 20 | 20 54 68 65 20 53 65 74 |..file. | The Set|
|00004c00| 20 49 6d 70 6c 69 63 69 | 74 20 63 6f 6d 6d 61 6e | Implici|t comman|
|00004c10| 64 20 63 61 6e 20 62 65 | 20 75 73 65 64 20 74 6f |d can be| used to|
|00004c20| 20 74 75 72 6e 20 61 75 | 74 6f 6d 61 74 69 63 20 | turn au|tomatic |
|00004c30| 63 6f 6d 6d 61 6e 64 20 | 66 69 6c 65 0d 0a 69 6e |command |file..in|
|00004c40| 76 6f 63 61 74 69 6f 6e | 20 22 6f 6e 22 20 6f 72 |vocation| "on" or|
|00004c50| 20 22 6f 66 66 22 2e 20 | 20 57 68 65 6e 20 69 74 | "off". | When it|
|00004c60| 20 69 73 20 22 6f 6e 22 | 2c 20 56 49 44 45 4f 20 | is "on"|, VIDEO |
|00004c70| 77 69 6c 6c 20 61 74 74 | 65 6d 70 74 20 74 6f 20 |will att|empt to |
|00004c80| 69 6e 76 6f 6b 65 20 61 | 0d 0a 63 6f 6d 6d 61 6e |invoke a|..comman|
|00004c90| 64 20 66 69 6c 65 20 77 | 68 65 6e 20 74 68 65 20 |d file w|hen the |
|00004ca0| 63 6f 6d 6d 61 6e 64 20 | 74 68 61 74 20 69 73 20 |command |that is |
|00004cb0| 65 6e 74 65 72 65 64 20 | 64 6f 65 73 20 6e 6f 74 |entered |does not|
|00004cc0| 20 6d 61 74 63 68 20 6f | 6e 65 20 6f 66 20 74 68 | match o|ne of th|
|00004cd0| 6f 73 65 20 69 6e 0d 0a | 69 74 73 20 63 6f 6d 6d |ose in..|its comm|
|00004ce0| 61 6e 64 20 73 65 74 2e | 20 20 46 6f 72 20 6d 6f |and set.| For mo|
|00004cf0| 72 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 6f |re infor|mation o|
|00004d00| 6e 20 63 6f 6d 6d 61 6e | 64 20 66 69 6c 65 20 70 |n comman|d file p|
|00004d10| 72 6f 63 65 73 73 69 6e | 67 2c 20 73 65 65 20 74 |rocessin|g, see t|
|00004d20| 68 65 0d 0a 22 49 4e 56 | 4f 4b 45 22 20 74 6f 70 |he.."INV|OKE" top|
|00004d30| 69 63 2e 0d 0a 0d 0a 0d | 0a 0d 0a 53 65 74 75 70 |ic......|...Setup|
|00004d40| 20 66 6f 72 20 61 6e 20 | 41 75 74 6f 43 41 44 20 | for an |AutoCAD |
|00004d50| 41 44 53 20 28 6f 72 20 | 41 44 49 29 20 41 70 70 |ADS (or |ADI) App|
|00004d60| 6c 69 63 61 74 69 6f 6e | 20 28 61 64 73 2e 64 62 |lication| (ads.db|
|00004d70| 67 29 0d 0a cd cd cd cd | cd cd cd cd cd cd cd cd |g)......|........|
|00004d80| cd cd cd cd cd cd cd cd | cd cd cd cd cd cd cd cd |........|........|
|00004d90| cd cd cd cd cd cd cd cd | cd cd cd cd cd cd cd cd |........|........|
|00004da0| cd cd cd cd cd cd cd cd | cd cd cd 0d 0a 53 79 6e |........|.....Syn|
|00004db0| 74 61 78 3a 20 20 20 20 | 5b 49 4e 76 6f 6b 65 20 |tax: |[INvoke |
|00004dc0| 7c 20 3c 5d 20 61 64 73 | 20 3c 73 79 6d 62 6f 6c || <] ads| <symbol|
|00004dd0| 5f 66 69 6c 65 5f 6e 61 | 6d 65 3e 0d 0a 0d 0a 53 |_file_na|me>....S|
|00004de0| 79 6e 6f 70 73 69 73 3a | 20 20 54 68 69 73 20 63 |ynopsis:| This c|
|00004df0| 6f 6d 6d 61 6e 64 20 66 | 69 6c 65 20 73 65 74 73 |ommand f|ile sets|
|00004e00| 20 75 70 20 61 20 64 65 | 62 75 67 67 69 6e 67 20 | up a de|bugging |
|00004e10| 73 65 73 73 69 6f 6e 20 | 66 6f 72 20 61 6e 20 41 |session |for an A|
|00004e20| 75 74 6f 43 41 44 20 41 | 44 53 0d 0a 09 20 20 20 |utoCAD A|DS... |
|00004e30| 28 6f 72 20 41 44 49 29 | 20 61 70 70 6c 69 63 61 |(or ADI)| applica|
|00004e40| 74 69 6f 6e 2e 20 20 54 | 68 65 20 73 79 6d 62 6f |tion. T|he symbo|
|00004e50| 6c 69 63 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |lic info|rmation |
|00004e60| 69 73 20 73 74 6f 72 65 | 64 20 69 6e 0d 0a 09 20 |is store|d in... |
|00004e70| 20 20 22 73 79 6d 62 6f | 6c 5f 66 69 6c 65 5f 6e | "symbo|l_file_n|
|00004e80| 61 6d 65 22 2e 0d 0a 0d | 0a 09 20 20 20 43 6f 6e |ame"....|.. Con|
|00004e90| 73 75 6c 74 20 74 68 65 | 20 41 75 74 6f 43 41 44 |sult the| AutoCAD|
|00004ea0| 20 44 65 76 65 6c 6f 70 | 6d 65 6e 74 20 53 79 73 | Develop|ment Sys|
|00004eb0| 74 65 6d 20 2d 20 50 72 | 6f 67 72 61 6d 6d 65 72 |tem - Pr|ogrammer|
|00004ec0| 27 73 20 52 65 66 65 72 | 65 6e 63 65 0d 0a 09 20 |'s Refer|ence... |
|00004ed0| 20 20 66 6f 72 20 6d 6f | 72 65 20 69 6e 66 6f 72 | for mo|re infor|
|00004ee0| 6d 61 74 69 6f 6e 20 6f | 6e 20 63 72 65 61 74 69 |mation o|n creati|
|00004ef0| 6e 67 20 41 44 53 20 61 | 70 70 6c 69 63 61 74 69 |ng ADS a|pplicati|
|00004f00| 6f 6e 73 2e 20 20 53 65 | 65 20 61 6c 73 6f 20 74 |ons. Se|e also t|
|00004f10| 68 65 0d 0a 09 20 20 20 | 63 68 61 70 74 65 72 20 |he... |chapter |
|00004f20| 69 6e 20 79 6f 75 72 20 | 57 41 54 43 4f 4d 20 43 |in your |WATCOM C|
|00004f30| 2f 33 38 36 20 6f 72 20 | 57 41 54 43 4f 4d 20 46 |/386 or |WATCOM F|
|00004f40| 4f 52 54 52 41 4e 20 37 | 37 2f 33 38 36 20 55 73 |ORTRAN 7|7/386 Us|
|00004f50| 65 72 27 73 0d 0a 09 20 | 20 20 47 75 69 64 65 20 |er's... | Guide |
|00004f60| 65 6e 74 69 74 6c 65 64 | 20 22 43 72 65 61 74 69 |entitled| "Creati|
|00004f70| 6e 67 20 41 75 74 6f 43 | 41 44 20 41 70 70 6c 69 |ng AutoC|AD Appli|
|00004f80| 63 61 74 69 6f 6e 73 22 | 2e 20 20 53 65 65 20 74 |cations"|. See t|
|00004f90| 68 65 20 74 6f 70 69 63 | 0d 0a 09 20 20 20 22 41 |he topic|... "A|
|00004fa0| 55 54 4f 43 41 44 22 20 | 66 6f 72 20 6d 6f 72 65 |UTOCAD" |for more|
|00004fb0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 2e 0d 0a 0d | informa|tion....|
|00004fc0| 0a 0d 0a 0d 0a 43 72 65 | 61 74 65 20 4c 61 72 67 |.....Cre|ate Larg|
|00004fd0| 65 20 41 73 73 65 6d 62 | 6c 79 20 57 69 6e 64 6f |e Assemb|ly Windo|
|00004fe0| 77 20 28 61 73 6d 2e 64 | 62 67 29 0d 0a cd cd cd |w (asm.d|bg).....|
|00004ff0| cd cd cd cd cd cd cd cd | cd cd cd cd cd cd cd cd |........|........|
|00005000| cd cd cd cd cd cd cd cd | cd cd cd cd cd cd cd cd |........|........|
|00005010| cd cd cd 0d 0a 53 79 6e | 74 61 78 3a 20 20 20 20 |.....Syn|tax: |
|00005020| 5b 49 4e 76 6f 6b 65 20 | 7c 20 3c 5d 20 61 73 6d |[INvoke || <] asm|
|00005030| 0d 0a 0d 0a 53 79 6e 6f | 70 73 69 73 3a 20 20 54 |....Syno|psis: T|
|00005040| 68 69 73 20 63 6f 6d 6d | 61 6e 64 20 66 69 6c 65 |his comm|and file|
|00005050| 20 63 72 65 61 74 65 73 | 20 61 6e 20 41 73 73 65 | creates| an Asse|
|00005060| 6d 62 6c 79 20 77 69 6e | 64 6f 77 20 74 68 61 74 |mbly win|dow that|
|00005070| 20 75 73 65 73 20 6d 6f | 73 74 20 6f 66 0d 0a 09 | uses mo|st of...|
|00005080| 20 20 20 74 68 65 20 73 | 63 72 65 65 6e 2e 09 54 | the s|creen..T|
|00005090| 68 65 20 52 65 67 69 73 | 74 65 72 20 77 69 6e 64 |he Regis|ter wind|
|000050a0| 6f 77 20 69 73 20 70 6c | 61 63 65 64 20 6f 6e 20 |ow is pl|aced on |
|000050b0| 74 68 65 20 72 69 67 68 | 74 20 73 69 64 65 20 6f |the righ|t side o|
|000050c0| 66 0d 0a 09 20 20 20 74 | 68 65 20 73 63 72 65 65 |f... t|he scree|
|000050d0| 6e 2e 09 41 20 53 74 61 | 63 6b 20 77 69 6e 64 6f |n..A Sta|ck windo|
|000050e0| 77 20 69 73 20 64 65 66 | 69 6e 65 64 20 62 75 74 |w is def|ined but|
|000050f0| 20 6e 6f 74 20 70 6c 61 | 63 65 64 20 6f 6e 20 74 | not pla|ced on t|
|00005100| 68 65 0d 0a 09 20 20 20 | 73 63 72 65 65 6e 2e 20 |he... |screen. |
|00005110| 20 53 6d 61 6c 6c 20 53 | 6f 75 72 63 65 20 61 6e | Small S|ource an|
|00005120| 64 20 44 69 61 6c 6f 67 | 75 65 20 77 69 6e 64 6f |d Dialog|ue windo|
|00005130| 77 73 20 61 72 65 20 61 | 6c 73 6f 20 63 72 65 61 |ws are a|lso crea|
|00005140| 74 65 64 2e 20 20 54 68 | 65 0d 0a 09 20 20 20 64 |ted. Th|e... d|
|00005150| 65 62 75 67 67 69 6e 67 | 20 6c 65 76 65 6c 20 69 |ebugging| level i|
|00005160| 73 20 73 65 74 20 74 6f | 20 22 61 73 73 65 6d 62 |s set to| "assemb|
|00005170| 6c 79 22 2e 0d 0a 0d 0a | 0d 0a 0d 0a 42 72 65 61 |ly".....|....Brea|
|00005180| 6b 20 6f 6e 20 43 6f 75 | 6e 74 20 28 62 63 6e 74 |k on Cou|nt (bcnt|
|00005190| 2e 64 62 67 29 0d 0a cd | cd cd cd cd cd cd cd cd |.dbg)...|........|
|000051a0| cd cd cd cd cd cd cd cd | cd cd cd cd cd cd cd cd |........|........|
|000051b0| 0d 0a 53 79 6e 74 61 78 | 3a 20 20 20 20 5b 49 4e |..Syntax|: [IN|
|000051c0| 76 6f 6b 65 20 7c 20 3c | 5d 20 62 63 6e 74 20 3c |voke | <|] bcnt <|
|000051d0| 63 6f 75 6e 74 3e 20 3c | 61 64 64 72 65 73 73 3e |count> <|address>|
|000051e0| 0d 0a 0d 0a 53 79 6e 6f | 70 73 69 73 3a 20 20 54 |....Syno|psis: T|
|000051f0| 68 69 73 20 63 6f 6d 6d | 61 6e 64 20 66 69 6c 65 |his comm|and file|
|00005200| 20 69 73 20 75 73 65 64 | 20 74 6f 20 62 72 65 61 | is used| to brea|
|00005210| 6b 20 65 78 65 63 75 74 | 69 6f 6e 20 61 66 74 65 |k execut|ion afte|
|00005220| 72 20 22 63 6f 75 6e 74 | 22 0d 0a 09 20 20 20 69 |r "count|"... i|
|00005230| 74 65 72 61 74 69 6f 6e | 73 20 61 74 20 74 68 65 |teration|s at the|
|00005240| 20 73 70 65 63 69 66 69 | 65 64 20 22 61 64 64 72 | specifi|ed "addr|
|00005250| 65 73 73 22 2e 20 20 54 | 68 65 20 62 72 65 61 6b |ess". T|he break|
|00005260| 20 70 6f 69 6e 74 20 69 | 73 0d 0a 09 20 20 20 63 | point i|s... c|
|00005270| 6c 65 61 72 65 64 20 61 | 66 74 65 72 77 61 72 64 |leared a|fterward|
|00005280| 73 2e 0d 0a 0d 0a 45 78 | 61 6d 70 6c 65 3a 20 20 |s.....Ex|ample: |
|00005290| 20 62 63 6e 74 20 31 30 | 30 30 20 53 74 61 67 65 | bcnt 10|00 Stage|
|000052a0| 44 0d 0a 0d 0a 09 20 20 | 20 45 78 65 63 75 74 69 |D..... | Executi|
|000052b0| 6f 6e 20 69 73 20 68 61 | 6c 74 65 64 20 61 66 74 |on is ha|lted aft|
|000052c0| 65 72 20 74 68 65 20 72 | 6f 75 74 69 6e 65 20 22 |er the r|outine "|
|000052d0| 53 74 61 67 65 44 22 20 | 68 61 73 20 62 65 65 6e |StageD" |has been|
|000052e0| 20 63 61 6c 6c 65 64 0d | 0a 09 20 20 20 31 30 30 | called.|.. 100|
|000052f0| 30 20 74 69 6d 65 73 2e | 0d 0a 0d 0a 0d 0a 0d 0a |0 times.|........|
|00005300| 42 72 65 61 6b 20 49 66 | 20 28 62 69 66 2e 64 62 |Break If| (bif.db|
|00005310| 67 29 0d 0a cd cd cd cd | cd cd cd cd cd cd cd cd |g)......|........|
|00005320| cd cd cd cd cd cd 0d 0a | 53 79 6e 74 61 78 3a 20 |........|Syntax: |
|00005330| 20 20 20 5b 49 4e 76 6f | 6b 65 20 7c 20 3c 5d 20 | [INvo|ke | <] |
|00005340| 62 69 66 20 3c 65 78 70 | 72 3e 20 3c 61 64 64 72 |bif <exp|r> <addr|
|00005350| 65 73 73 3e 0d 0a 0d 0a | 53 79 6e 6f 70 73 69 73 |ess>....|Synopsis|
|00005360| 3a 20 20 54 68 69 73 20 | 63 6f 6d 6d 61 6e 64 20 |: This |command |
|00005370| 66 69 6c 65 20 69 73 20 | 75 73 65 64 20 74 6f 20 |file is |used to |
|00005380| 62 72 65 61 6b 20 65 78 | 65 63 75 74 69 6f 6e 20 |break ex|ecution |
|00005390| 61 74 20 74 68 65 20 73 | 70 65 63 69 66 69 65 64 |at the s|pecified|
|000053a0| 0d 0a 09 20 20 20 22 61 | 64 64 72 65 73 73 22 20 |... "a|ddress" |
|000053b0| 77 68 65 6e 20 22 65 78 | 70 72 22 20 69 73 20 74 |when "ex|pr" is t|
|000053c0| 72 75 65 20 28 6e 6f 6e | 2d 7a 65 72 6f 20 72 65 |rue (non|-zero re|
|000053d0| 73 75 6c 74 29 2e 0d 0a | 0d 0a 45 78 61 6d 70 6c |sult)...|..Exampl|
|000053e0| 65 3a 20 20 20 62 69 66 | 20 7b 61 78 20 3d 3d 20 |e: bif| {ax == |
|000053f0| 30 7d 20 6d 61 6c 6c 6f | 63 0d 0a 0d 0a 09 20 20 |0} mallo|c..... |
|00005400| 20 62 69 66 20 7b 65 61 | 78 20 3d 3d 20 30 7d 20 | bif {ea|x == 0} |
|00005410| 6d 61 6c 6c 6f 63 0d 0a | 0d 0a 09 20 20 20 45 78 |malloc..|... Ex|
|00005420| 65 63 75 74 69 6f 6e 20 | 69 73 20 68 61 6c 74 65 |ecution |is halte|
|00005430| 64 20 77 68 65 6e 65 76 | 65 72 20 74 68 65 20 22 |d whenev|er the "|
|00005440| 6d 61 6c 6c 6f 63 22 20 | 72 6f 75 74 69 6e 65 20 |malloc" |routine |
|00005450| 69 73 20 63 61 6c 6c 65 | 64 20 77 69 74 68 0d 0a |is calle|d with..|
|00005460| 09 20 20 20 61 20 72 65 | 71 75 65 73 74 20 66 6f |. a re|quest fo|
|00005470| 72 20 30 20 62 79 74 65 | 73 20 6f 66 20 73 74 6f |r 0 byte|s of sto|
|00005480| 72 61 67 65 2e 20 20 4e | 6f 74 65 20 74 68 61 74 |rage. N|ote that|
|00005490| 20 74 68 65 20 61 72 67 | 75 6d 65 6e 74 20 69 73 | the arg|ument is|
|000054a0| 0d 0a 09 20 20 20 70 61 | 73 73 65 64 20 69 6e 20 |... pa|ssed in |
|000054b0| 72 65 67 69 73 74 65 72 | 20 41 58 20 69 6e 20 31 |register| AX in 1|
|000054c0| 36 2d 62 69 74 20 6d 6f | 64 65 20 6f 72 20 45 41 |6-bit mo|de or EA|
|000054d0| 58 20 69 6e 20 33 32 2d | 62 69 74 20 6d 6f 64 65 |X in 32-|bit mode|
|000054e0| 2e 0d 0a 0d 0a 0d 0a 0d | 0a 43 6f 75 6e 74 20 42 |........|.Count B|
|000054f0| 72 65 61 6b 73 20 28 63 | 6e 74 62 72 6b 73 2e 64 |reaks (c|ntbrks.d|
|00005500| 62 67 29 0d 0a cd cd cd | cd cd cd cd cd cd cd cd |bg).....|........|
|00005510| cd cd cd cd cd cd cd cd | cd cd cd cd cd cd cd 0d |........|........|
|00005520| 0a 53 79 6e 74 61 78 3a | 20 20 20 20 5b 49 4e 76 |.Syntax:| [INv|
|00005530| 6f 6b 65 20 7c 20 3c 5d | 20 63 6e 74 62 72 6b 73 |oke | <]| cntbrks|
|00005540| 20 3c 61 64 64 72 65 73 | 73 3e 0d 0a 0d 0a 53 79 | <addres|s>....Sy|
|00005550| 6e 6f 70 73 69 73 3a 20 | 20 43 6f 75 6e 74 20 74 |nopsis: | Count t|
|00005560| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 74 69 6d |he numbe|r of tim|
|00005570| 65 73 20 3c 61 64 64 72 | 65 73 73 3e 20 69 73 20 |es <addr|ess> is |
|00005580| 65 78 65 63 75 74 65 64 | 2e 0d 0a 0d 0a 45 78 61 |executed|.....Exa|
|00005590| 6d 70 6c 65 3a 20 20 20 | 63 6e 74 62 72 6b 73 20 |mple: |cntbrks |
|000055a0| 53 74 61 67 65 44 0d 0a | 0d 0a 09 20 20 20 54 68 |StageD..|... Th|
|000055b0| 65 20 6e 61 6d 65 20 6f | 66 20 74 68 65 20 76 61 |e name o|f the va|
|000055c0| 72 69 61 62 6c 65 20 74 | 68 61 74 20 69 73 20 63 |riable t|hat is c|
|000055d0| 72 65 61 74 65 64 20 74 | 6f 20 74 61 62 75 6c 61 |reated t|o tabula|
|000055e0| 74 65 20 74 68 65 20 6e | 75 6d 62 65 72 0d 0a 09 |te the n|umber...|
|000055f0| 20 20 20 6f 66 20 69 74 | 65 72 61 74 69 6f 6e 73 | of it|erations|
|00005600| 20 69 73 20 64 69 73 70 | 6c 61 79 65 64 20 6f 6e | is disp|layed on|
|00005610| 20 74 68 65 20 73 63 72 | 65 65 6e 2e 20 20 54 68 | the scr|een. Th|
|00005620| 69 73 20 76 61 72 69 61 | 62 6c 65 20 63 61 6e 20 |is varia|ble can |
|00005630| 62 65 0d 0a 09 20 20 20 | 71 75 65 72 69 65 64 20 |be... |queried |
|00005640| 61 74 20 61 6e 79 20 74 | 69 6d 65 20 77 69 74 68 |at any t|ime with|
|00005650| 20 74 68 65 20 56 49 44 | 45 4f 20 50 72 69 6e 74 | the VID|EO Print|
|00005660| 20 63 6f 6d 6d 61 6e 64 | 2e 20 20 57 68 65 6e 20 | command|. When |
|00005670| 70 72 6f 67 72 61 6d 0d | 0a 09 20 20 20 65 78 65 |program.|.. exe|
|00005680| 63 75 74 69 6f 6e 20 69 | 73 20 73 74 61 72 74 65 |cution i|s starte|
|00005690| 64 20 77 69 74 68 20 74 | 68 65 20 47 6f 20 63 6f |d with t|he Go co|
|000056a0| 6d 6d 61 6e 64 2c 20 65 | 61 63 68 20 62 72 65 61 |mmand, e|ach brea|
|000056b0| 6b 20 72 65 73 75 6c 74 | 73 20 69 6e 0d 0a 09 20 |k result|s in... |
|000056c0| 20 20 74 68 65 20 6d 65 | 73 73 61 67 65 20 22 63 | the me|ssage "c|
|000056d0| 6e 74 24 78 78 78 78 20 | 3d 20 6e 22 20 62 65 69 |nt$xxxx |= n" bei|
|000056e0| 6e 67 20 70 72 69 6e 74 | 65 64 20 6f 6e 20 74 68 |ng print|ed on th|
|000056f0| 65 20 70 72 6f 67 72 61 | 6d 20 73 63 72 65 65 6e |e progra|m screen|
|00005700| 2e 0d 0a 0d 0a 0d 0a 0d | 0a 53 65 74 75 70 20 57 |........|.Setup W|
|00005710| 69 6e 64 6f 77 20 43 6f | 6c 6f 75 72 73 20 28 63 |indow Co|lours (c|
|00005720| 6f 6c 6f 75 72 73 2e 64 | 62 67 29 0d 0a cd cd cd |olours.d|bg).....|
|00005730| cd cd cd cd cd cd cd cd | cd cd cd cd cd cd cd cd |........|........|
|00005740| cd cd cd cd cd cd cd cd | cd cd cd cd cd cd cd 0d |........|........|
|00005750| 0a 53 79 6e 74 61 78 3a | 20 20 20 20 5b 49 4e 76 |.Syntax:| [INv|
|00005760| 6f 6b 65 20 7c 20 3c 5d | 20 63 6f 6c 6f 75 72 73 |oke | <]| colours|
|00005770| 0d 0a 0d 0a 53 79 6e 6f | 70 73 69 73 3a 20 20 54 |....Syno|psis: T|
|00005780| 68 69 73 20 63 6f 6d 6d | 61 6e 64 20 66 69 6c 65 |his comm|and file|
|00005790| 20 73 65 74 73 20 74 68 | 65 20 63 6f 6c 6f 75 72 | sets th|e colour|
|000057a0| 73 20 66 6f 72 20 74 68 | 65 20 76 61 72 69 6f 75 |s for th|e variou|
|000057b0| 73 20 64 65 62 75 67 67 | 65 72 0d 0a 09 20 20 20 |s debugg|er... |
|000057c0| 77 69 6e 64 6f 77 73 2e | 20 20 54 68 65 20 73 65 |windows.| The se|
|000057d0| 6c 65 63 74 69 6f 6e 20 | 63 61 6e 20 62 65 20 74 |lection |can be t|
|000057e0| 61 69 6c 6f 72 65 64 20 | 74 6f 20 79 6f 75 72 20 |ailored |to your |
|000057f0| 6f 77 6e 20 6e 65 65 64 | 73 2e 20 20 54 68 65 0d |own need|s. The.|
|00005800| 0a 09 20 20 20 63 6f 6d | 6d 61 6e 64 20 66 69 6c |.. com|mand fil|
|00005810| 65 20 69 73 20 69 6e 76 | 6f 6b 65 64 20 62 79 20 |e is inv|oked by |
|00005820| 74 68 65 20 73 74 61 72 | 74 2d 75 70 20 22 70 72 |the star|t-up "pr|
|00005830| 6f 66 69 6c 65 2e 64 62 | 67 22 20 63 6f 6d 6d 61 |ofile.db|g" comma|
|00005840| 6e 64 0d 0a 09 20 20 20 | 66 69 6c 65 20 77 68 65 |nd... |file whe|
|00005850| 6e 65 76 65 72 20 74 68 | 65 20 64 65 62 75 67 67 |never th|e debugg|
|00005860| 65 72 20 69 73 20 72 75 | 6e 20 6f 6e 20 61 20 63 |er is ru|n on a c|
|00005870| 6f 6c 6f 75 72 20 6d 6f | 6e 69 74 6f 72 2e 0d 0a |olour mo|nitor...|
|00005880| 0d 0a 53 65 65 20 41 6c | 73 6f 3a 20 20 67 72 61 |..See Al|so: gra|
|00005890| 79 73 2e 64 62 67 0d 0a | 0d 0a 0d 0a 0d 0a 46 69 |ys.dbg..|......Fi|
|000058a0| 6c 6c 20 4d 65 6d 6f 72 | 79 20 28 66 69 6c 6c 2e |ll Memor|y (fill.|
|000058b0| 64 62 67 29 0d 0a cd cd | cd cd cd cd cd cd cd cd |dbg)....|........|
|000058c0| cd cd cd cd cd cd cd cd | cd cd cd cd 0d 0a 53 79 |........|......Sy|
|000058d0| 6e 74 61 78 3a 20 20 20 | 20 5b 49 4e 76 6f 6b 65 |ntax: | [INvoke|
|000058e0| 20 7c 20 3c 5d 20 66 69 | 6c 6c 20 3c 61 64 64 72 | | <] fi|ll <addr|
|000058f0| 65 73 73 3e 20 3c 76 61 | 6c 75 65 3e 20 3c 6c 65 |ess> <va|lue> <le|
|00005900| 6e 67 74 68 3e 0d 0a 0d | 0a 53 79 6e 6f 70 73 69 |ngth>...|.Synopsi|
|00005910| 73 3a 20 20 54 68 69 73 | 20 63 6f 6d 6d 61 6e 64 |s: This| command|
|00005920| 20 66 69 6c 65 20 6d 61 | 79 20 62 65 20 75 73 65 | file ma|y be use|
|00005930| 64 20 74 6f 20 66 69 6c | 6c 20 61 20 72 65 67 69 |d to fil|l a regi|
|00005940| 6f 6e 20 6f 66 20 6d 65 | 6d 6f 72 79 20 77 69 74 |on of me|mory wit|
|00005950| 68 20 61 0d 0a 09 20 20 | 20 73 70 65 63 69 66 69 |h a... | specifi|
|00005960| 63 20 76 61 6c 75 65 2e | 20 20 54 68 65 20 73 74 |c value.| The st|
|00005970| 61 72 74 69 6e 67 20 61 | 64 64 72 65 73 73 20 74 |arting a|ddress t|
|00005980| 6f 20 66 69 6c 6c 20 69 | 73 20 73 70 65 63 69 66 |o fill i|s specif|
|00005990| 69 65 64 20 62 79 0d 0a | 09 20 20 20 3c 61 64 64 |ied by..|. <add|
|000059a0| 72 65 73 73 3e 2e 20 20 | 54 68 65 20 62 79 74 65 |ress>. |The byte|
|000059b0| 20 76 61 6c 75 65 20 74 | 6f 20 66 69 6c 6c 20 77 | value t|o fill w|
|000059c0| 69 74 68 20 69 73 20 73 | 70 65 63 69 66 69 65 64 |ith is s|pecified|
|000059d0| 20 62 79 20 3c 76 61 6c | 75 65 3e 2e 0d 0a 09 20 | by <val|ue>.... |
|000059e0| 20 20 54 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 | The nu|mber of |
|000059f0| 62 79 74 65 73 20 74 6f | 20 66 69 6c 6c 20 69 73 |bytes to| fill is|
|00005a00| 20 73 70 65 63 69 66 69 | 65 64 20 62 79 20 3c 6c | specifi|ed by <l|
|00005a10| 65 6e 67 74 68 3e 2e 0d | 0a 0d 0a 45 78 61 6d 70 |ength>..|...Examp|
|00005a20| 6c 65 3a 20 20 20 66 69 | 6c 6c 20 65 73 3a 30 20 |le: fi|ll es:0 |
|00005a30| 66 66 20 31 30 30 0d 0a | 09 20 20 20 46 69 6c 6c |ff 100..|. Fill|
|00005a40| 20 32 35 36 20 62 79 74 | 65 73 20 6f 66 20 6d 65 | 256 byt|es of me|
|00005a50| 6d 6f 72 79 20 73 74 61 | 72 74 69 6e 67 20 61 74 |mory sta|rting at|
|00005a60| 20 45 53 3a 30 20 77 69 | 74 68 20 74 68 65 20 76 | ES:0 wi|th the v|
|00005a70| 61 6c 75 65 20 30 78 46 | 46 2e 20 20 41 0d 0a 09 |alue 0xF|F. A...|
|00005a80| 20 20 20 72 61 64 69 78 | 20 6f 66 20 31 36 20 69 | radix| of 16 i|
|00005a90| 73 20 61 73 73 75 6d 65 | 64 20 69 6e 20 74 68 69 |s assume|d in thi|
|00005aa0| 73 20 65 78 61 6d 70 6c | 65 2e 0d 0a 0d 0a 0d 0a |s exampl|e.......|
|00005ab0| 0d 0a 53 65 74 75 70 20 | 66 6f 72 20 61 20 46 6f |..Setup |for a Fo|
|00005ac0| 78 50 72 6f 20 45 78 74 | 65 72 6e 61 6c 20 52 6f |xPro Ext|ernal Ro|
|00005ad0| 75 74 69 6e 65 20 28 66 | 6f 78 2e 64 62 67 29 0d |utine (f|ox.dbg).|
|00005ae0| 0a cd cd cd cd cd cd cd | cd cd cd cd cd cd cd cd |........|........|
|00005af0| cd cd cd cd cd cd cd cd | cd cd cd cd cd cd cd cd |........|........|
|00005b00| cd cd cd cd cd cd cd cd | cd cd cd cd cd cd 0d 0a |........|........|
|00005b10| 53 79 6e 74 61 78 3a 20 | 20 20 20 5b 49 4e 76 6f |Syntax: | [INvo|
|00005b20| 6b 65 20 7c 20 3c 5d 20 | 66 6f 78 20 3c 73 79 6d |ke | <] |fox <sym|
|00005b30| 62 6f 6c 5f 66 69 6c 65 | 5f 6e 61 6d 65 3e 0d 0a |bol_file|_name>..|
|00005b40| 0d 0a 53 79 6e 6f 70 73 | 69 73 3a 20 20 54 68 69 |..Synops|is: Thi|
|00005b50| 73 20 63 6f 6d 6d 61 6e | 64 20 66 69 6c 65 20 73 |s comman|d file s|
|00005b60| 65 74 73 20 75 70 20 61 | 20 64 65 62 75 67 67 69 |ets up a| debuggi|
|00005b70| 6e 67 20 73 65 73 73 69 | 6f 6e 20 66 6f 72 20 61 |ng sessi|on for a|
|00005b80| 20 46 6f 78 50 72 6f 0d | 0a 09 20 20 20 45 78 74 | FoxPro.|.. Ext|
|00005b90| 65 72 6e 61 6c 20 52 6f | 75 74 69 6e 65 2e 20 20 |ernal Ro|utine. |
|00005ba0| 54 68 65 20 73 79 6d 62 | 6f 6c 69 63 20 69 6e 66 |The symb|olic inf|
|00005bb0| 6f 72 6d 61 74 69 6f 6e | 20 69 73 20 73 74 6f 72 |ormation| is stor|
|00005bc0| 65 64 20 69 6e 0d 0a 09 | 20 20 20 22 73 79 6d 62 |ed in...| "symb|
|00005bd0| 6f 6c 5f 66 69 6c 65 5f | 6e 61 6d 65 22 2e 0d 0a |ol_file_|name"...|
|00005be0| 0d 0a 09 20 20 20 4d 61 | 6b 65 20 73 75 72 65 20 |... Ma|ke sure |
|00005bf0| 74 68 61 74 20 79 6f 75 | 20 68 61 76 65 20 63 6f |that you| have co|
|00005c00| 64 65 64 20 61 20 63 61 | 6c 6c 20 74 6f 20 42 72 |ded a ca|ll to Br|
|00005c10| 65 61 6b 50 6f 69 6e 74 | 28 29 20 69 6e 20 79 6f |eakPoint|() in yo|
|00005c20| 75 72 0d 0a 09 20 20 20 | 65 78 74 65 72 6e 61 6c |ur... |external|
|00005c30| 20 72 6f 75 74 69 6e 65 | 2e 20 20 54 68 69 73 20 | routine|. This |
|00005c40| 63 61 6c 6c 20 73 68 6f | 75 6c 64 20 62 65 20 69 |call sho|uld be i|
|00005c50| 6e 20 74 68 65 20 66 69 | 72 73 74 20 73 65 67 6d |n the fi|rst segm|
|00005c60| 65 6e 74 2e 0d 0a 0d 0a | 45 78 61 6d 70 6c 65 3a |ent.....|Example:|
|00005c70| 20 20 20 53 74 61 72 74 | 20 74 68 65 20 65 78 74 | Start| the ext|
|00005c80| 65 72 6e 61 6c 20 72 6f | 75 74 69 6e 65 20 28 65 |ernal ro|utine (e|
|00005c90| 2e 67 2e 2c 3f 20 20 68 | 65 6c 6c 6f 28 29 29 2e |.g.,? h|ello()).|
|00005ca0| 20 20 54 68 65 20 63 61 | 6c 6c 20 74 6f 0d 0a 09 | The ca|ll to...|
|00005cb0| 20 20 20 42 72 65 61 6b | 50 6f 69 6e 74 28 29 20 | Break|Point() |
|00005cc0| 63 61 75 73 65 73 20 65 | 6e 74 72 79 20 69 6e 74 |causes e|ntry int|
|00005cd0| 6f 20 64 65 62 75 67 67 | 65 72 2e 20 20 54 6f 20 |o debugg|er. To |
|00005ce0| 73 74 61 72 74 20 73 79 | 6d 62 6f 6c 69 63 0d 0a |start sy|mbolic..|
|00005cf0| 09 20 20 20 64 65 62 75 | 67 67 69 6e 67 2c 20 65 |. debu|gging, e|
|00005d00| 6e 74 65 72 20 61 20 63 | 6f 6d 6d 61 6e 64 20 73 |nter a c|ommand s|
|00005d10| 69 6d 69 6c 61 72 20 74 | 6f 20 74 68 65 20 66 6f |imilar t|o the fo|
|00005d20| 6c 6c 6f 77 69 6e 67 3a | 0d 0a 0d 0a 09 20 20 20 |llowing:|..... |
|00005d30| 45 78 61 6d 70 6c 65 3a | 0d 0a 09 20 20 20 20 20 |Example:|... |
|00005d40| 44 42 47 3e 66 6f 78 20 | 68 65 6c 6c 6f 2e 70 6c |DBG>fox |hello.pl|
|00005d50| 62 0d 0a 0d 0a 09 20 20 | 20 43 6f 6e 73 75 6c 74 |b..... | Consult|
|00005d60| 20 74 68 65 20 46 6f 78 | 50 72 6f 20 45 78 74 65 | the Fox|Pro Exte|
|00005d70| 72 6e 61 6c 20 52 6f 75 | 74 69 6e 65 20 41 50 49 |rnal Rou|tine API|
|00005d80| 20 64 6f 63 75 6d 65 6e | 74 20 66 6f 72 20 6d 6f | documen|t for mo|
|00005d90| 72 65 0d 0a 09 20 20 20 | 69 6e 66 6f 72 6d 61 74 |re... |informat|
|00005da0| 69 6f 6e 20 6f 6e 20 63 | 72 65 61 74 69 6e 67 20 |ion on c|reating |
|00005db0| 46 6f 78 50 72 6f 20 45 | 78 74 65 72 6e 61 6c 20 |FoxPro E|xternal |
|00005dc0| 52 6f 75 74 69 6e 65 73 | 2e 0d 0a 0d 0a 0d 0a 0d |Routines|........|
|00005dd0| 0a 53 65 74 75 70 20 57 | 69 6e 64 6f 77 20 43 6f |.Setup W|indow Co|
|00005de0| 6c 6f 75 72 73 20 66 6f | 72 20 61 20 47 72 61 79 |lours fo|r a Gray|
|00005df0| 2d 53 63 61 6c 65 20 4d | 6f 6e 69 74 6f 72 0d 0a |-Scale M|onitor..|
|00005e00| cd cd cd cd cd cd cd cd | cd cd cd cd cd cd cd cd |........|........|
|00005e10| cd cd cd cd cd cd cd cd | cd cd cd cd cd cd cd cd |........|........|
|00005e20| cd cd cd cd cd cd cd cd | cd cd cd cd cd 0d 0a 53 |........|.......S|
|00005e30| 79 6e 74 61 78 3a 20 20 | 20 20 5b 49 4e 76 6f 6b |yntax: | [INvok|
|00005e40| 65 20 7c 20 3c 5d 20 67 | 72 61 79 73 0d 0a 0d 0a |e | <] g|rays....|
|00005e50| 53 79 6e 6f 70 73 69 73 | 3a 20 20 54 68 69 73 20 |Synopsis|: This |
|00005e60| 63 6f 6d 6d 61 6e 64 20 | 66 69 6c 65 20 73 65 74 |command |file set|
|00005e70| 73 20 74 68 65 20 22 63 | 6f 6c 6f 75 72 73 22 20 |s the "c|olours" |
|00005e80| 66 6f 72 20 74 68 65 20 | 76 61 72 69 6f 75 73 20 |for the |various |
|00005e90| 64 65 62 75 67 67 65 72 | 0d 0a 09 20 20 20 77 69 |debugger|... wi|
|00005ea0| 6e 64 6f 77 73 20 6f 6e | 20 61 20 67 72 61 79 2d |ndows on| a gray-|
|00005eb0| 73 63 61 6c 65 20 6d 6f | 6e 69 74 6f 72 2e 20 20 |scale mo|nitor. |
|00005ec0| 54 68 65 20 73 65 6c 65 | 63 74 69 6f 6e 20 63 61 |The sele|ction ca|
|00005ed0| 6e 20 62 65 20 74 61 69 | 6c 6f 72 65 64 0d 0a 09 |n be tai|lored...|
|00005ee0| 20 20 20 74 6f 20 79 6f | 75 72 20 6f 77 6e 20 6e | to yo|ur own n|
|00005ef0| 65 65 64 73 2e 20 20 54 | 68 65 20 63 6f 6d 6d 61 |eeds. T|he comma|
|00005f00| 6e 64 20 66 69 6c 65 20 | 73 68 6f 75 6c 64 20 62 |nd file |should b|
|00005f10| 65 20 69 6e 76 6f 6b 65 | 64 20 69 66 20 79 6f 75 |e invoke|d if you|
|00005f20| 0d 0a 09 20 20 20 68 61 | 76 65 20 61 20 67 72 61 |... ha|ve a gra|
|00005f30| 79 2d 73 63 61 6c 65 20 | 6d 6f 6e 69 74 6f 72 2e |y-scale |monitor.|
|00005f40| 0d 0a 0d 0a 53 65 65 20 | 41 6c 73 6f 3a 20 20 63 |....See |Also: c|
|00005f50| 6f 6c 6f 75 72 73 2e 64 | 62 67 0d 0a 0d 0a 0d 0a |olours.d|bg......|
|00005f60| 0d 0a 43 72 65 61 74 65 | 20 41 73 73 65 6d 62 6c |..Create| Assembl|
|00005f70| 79 20 61 6e 64 20 53 6f | 75 72 63 65 20 57 69 6e |y and So|urce Win|
|00005f80| 64 6f 77 73 20 28 6d 69 | 78 2e 64 62 67 29 0d 0a |dows (mi|x.dbg)..|
|00005f90| cd cd cd cd cd cd cd cd | cd cd cd cd cd cd cd cd |........|........|
|00005fa0| cd cd cd cd cd cd cd cd | cd cd cd cd cd cd cd cd |........|........|
|00005fb0| cd cd cd cd cd cd cd cd | cd cd cd cd 0d 0a 53 79 |........|......Sy|
|00005fc0| 6e 74 61 78 3a 20 20 20 | 20 5b 49 4e 76 6f 6b 65 |ntax: | [INvoke|
|00005fd0| 20 7c 20 3c 5d 20 6d 69 | 78 0d 0a 0d 0a 53 79 6e | | <] mi|x....Syn|
|00005fe0| 6f 70 73 69 73 3a 20 20 | 54 68 69 73 20 63 6f 6d |opsis: |This com|
|00005ff0| 6d 61 6e 64 20 66 69 6c | 65 20 63 72 65 61 74 65 |mand fil|e create|
|00006000| 73 20 74 77 6f 20 65 76 | 65 6e 6c 79 2d 73 69 7a |s two ev|enly-siz|
|00006010| 65 64 20 53 6f 75 72 63 | 65 20 61 6e 64 20 41 73 |ed Sourc|e and As|
|00006020| 73 65 6d 62 6c 79 0d 0a | 09 20 20 20 77 69 6e 64 |sembly..|. wind|
|00006030| 6f 77 73 20 74 68 61 74 | 20 75 73 65 20 75 70 20 |ows that| use up |
|00006040| 6d 6f 73 74 20 6f 66 20 | 74 68 65 20 73 63 72 65 |most of |the scre|
|00006050| 65 6e 2e 20 20 54 68 65 | 20 52 65 67 69 73 74 65 |en. The| Registe|
|00006060| 72 20 77 69 6e 64 6f 77 | 20 69 73 0d 0a 09 20 20 |r window| is... |
|00006070| 20 70 6c 61 63 65 64 20 | 6f 6e 20 74 68 65 20 72 | placed |on the r|
|00006080| 69 67 68 74 20 73 69 64 | 65 20 6f 66 20 74 68 65 |ight sid|e of the|
|00006090| 20 73 63 72 65 65 6e 2e | 20 20 41 20 53 74 61 63 | screen.| A Stac|
|000060a0| 6b 20 77 69 6e 64 6f 77 | 20 69 73 0d 0a 09 20 20 |k window| is... |
|000060b0| 20 64 65 66 69 6e 65 64 | 20 62 75 74 20 6e 6f 74 | defined| but not|
|000060c0| 20 70 6c 61 63 65 64 20 | 6f 6e 20 74 68 65 20 73 | placed |on the s|
|000060d0| 63 72 65 65 6e 2e 20 20 | 41 20 73 6d 61 6c 6c 20 |creen. |A small |
|000060e0| 44 69 61 6c 6f 67 75 65 | 20 77 69 6e 64 6f 77 20 |Dialogue| window |
|000060f0| 69 73 0d 0a 09 20 20 20 | 61 6c 73 6f 20 63 72 65 |is... |also cre|
|00006100| 61 74 65 64 2e 20 20 54 | 68 65 20 64 65 62 75 67 |ated. T|he debug|
|00006110| 67 69 6e 67 20 6c 65 76 | 65 6c 20 69 73 20 73 65 |ging lev|el is se|
|00006120| 74 20 74 6f 20 22 6d 69 | 78 22 2e 0d 0a 0d 0a 0d |t to "mi|x"......|
|00006130| 0a 0d 0a 56 49 44 45 4f | 20 49 6e 69 74 69 61 6c |...VIDEO| Initial|
|00006140| 69 7a 61 74 69 6f 6e 20 | 46 69 6c 65 20 28 70 72 |ization |File (pr|
|00006150| 6f 66 69 6c 65 2e 64 62 | 67 29 0d 0a cd cd cd cd |ofile.db|g)......|
|00006160| cd cd cd cd cd cd cd cd | cd cd cd cd cd cd cd cd |........|........|
|00006170| cd cd cd cd cd cd cd cd | cd cd cd cd cd cd cd cd |........|........|
|00006180| cd cd cd 0d 0a 53 79 6e | 74 61 78 3a 20 20 20 20 |.....Syn|tax: |
|00006190| 5b 49 4e 76 6f 6b 65 20 | 7c 20 3c 5d 20 70 72 6f |[INvoke || <] pro|
|000061a0| 66 69 6c 65 0d 0a 0d 0a | 53 79 6e 6f 70 73 69 73 |file....|Synopsis|
|000061b0| 3a 20 20 54 68 69 73 20 | 69 73 20 74 68 65 20 56 |: This |is the V|
|000061c0| 49 44 45 4f 20 69 6e 69 | 74 69 61 6c 69 7a 61 74 |IDEO ini|tializat|
|000061d0| 69 6f 6e 20 66 69 6c 65 | 2e 20 20 49 74 20 63 61 |ion file|. It ca|
|000061e0| 6e 20 62 65 20 63 75 73 | 74 6f 6d 69 7a 65 64 20 |n be cus|tomized |
|000061f0| 66 6f 72 0d 0a 09 20 20 | 20 79 6f 75 72 20 6f 77 |for... | your ow|
|00006200| 6e 20 6e 65 65 64 73 2e | 20 20 41 73 20 64 69 73 |n needs.| As dis|
|00006210| 74 72 69 62 75 74 65 64 | 2c 20 69 74 20 70 65 72 |tributed|, it per|
|00006220| 66 6f 72 6d 73 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |forms th|e follow|
|00006230| 69 6e 67 0d 0a 09 20 20 | 20 69 6e 69 74 69 61 6c |ing... | initial|
|00006240| 69 7a 61 74 69 6f 6e 2e | 0d 0a 0d 0a 09 20 20 20 |ization.|..... |
|00006250| 20 20 31 2e 20 54 68 65 | 20 6d 65 6e 75 20 62 61 | 1. The| menu ba|
|00006260| 72 20 69 73 20 74 75 72 | 6e 65 64 20 6f 6e 2e 0d |r is tur|ned on..|
|00006270| 0a 0d 0a 09 20 20 20 20 | 20 32 2e 20 54 68 65 20 |.... | 2. The |
|00006280| 64 65 62 75 67 67 69 6e | 67 20 6c 65 76 65 6c 20 |debuggin|g level |
|00006290| 69 73 20 73 65 74 20 74 | 6f 20 22 6d 69 78 22 20 |is set t|o "mix" |
|000062a0| 77 68 69 63 68 20 69 73 | 20 73 6f 75 72 63 65 20 |which is| source |
|000062b0| 6c 65 76 65 6c 0d 0a 09 | 20 20 20 20 20 20 20 64 |level...| d|
|000062c0| 65 62 75 67 67 69 6e 67 | 20 77 68 65 6e 65 76 65 |ebugging| wheneve|
|000062d0| 72 20 70 6f 73 73 69 62 | 6c 65 20 61 6e 64 20 61 |r possib|le and a|
|000062e0| 73 73 65 6d 62 6c 79 20 | 6c 65 76 65 6c 20 64 65 |ssembly |level de|
|000062f0| 62 75 67 67 69 6e 67 20 | 77 68 65 6e 0d 0a 09 20 |bugging |when... |
|00006300| 20 20 20 20 20 20 6e 6f | 20 73 6f 75 72 63 65 20 | no| source |
|00006310| 6c 69 6e 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |line inf|ormation|
|00006320| 20 69 73 20 61 76 61 69 | 6c 61 62 6c 65 2e 0d 0a | is avai|lable...|
|00006330| 0d 0a 09 20 20 20 20 20 | 33 2e 20 54 68 65 20 73 |... |3. The s|
|00006340| 79 6d 62 6f 6c 20 6e 61 | 6d 65 20 6d 61 74 63 68 |ymbol na|me match|
|00006350| 69 6e 67 20 70 61 74 74 | 65 72 6e 73 20 61 72 65 |ing patt|erns are|
|00006360| 20 73 65 74 20 74 6f 20 | 22 2a 22 2c 20 22 2a 5f | set to |"*", "*_|
|00006370| 22 20 61 6e 64 0d 0a 09 | 20 20 20 20 20 20 20 22 |" and...| "|
|00006380| 5f 2a 22 2e 0d 0a 0d 0a | 09 20 20 20 20 20 34 2e |_*".....|. 4.|
|00006390| 20 41 75 74 6f 6d 61 74 | 69 63 20 63 6f 6d 6d 61 | Automat|ic comma|
|000063a0| 6e 64 20 66 69 6c 65 20 | 69 6e 76 6f 63 61 74 69 |nd file |invocati|
|000063b0| 6f 6e 20 69 73 20 65 6e | 61 62 6c 65 64 2e 20 20 |on is en|abled. |
|000063c0| 41 6e 79 20 74 69 6d 65 | 20 61 6e 0d 0a 09 20 20 |Any time| an... |
|000063d0| 20 20 20 20 20 75 6e 72 | 65 63 6f 67 6e 69 7a 65 | unr|ecognize|
|000063e0| 64 20 63 6f 6d 6d 61 6e | 64 20 69 73 20 65 6e 74 |d comman|d is ent|
|000063f0| 65 72 65 64 2c 20 74 68 | 65 20 64 65 62 75 67 67 |ered, th|e debugg|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.